Skip to main content

Questions tagged [plotting]

Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

Filter by
Sorted by
Tagged with
0 votes
0 answers
32 views

Plotting Inverse Function - more complicated [duplicate]

I would like to plot the inverse of $f$ using the same method that was suggested to me in my previous question: f[x_] := [(2 μ ArcTanh[(# μ)/Sqrt[-α + #^2 ν]] + μ Log[α + #^2 (μ^2 - ν)] - 2 Sqrt[ν]Log[...
Armin Sharafi's user avatar
0 votes
0 answers
40 views

"Encounter nonnumerical numbers at t==0" when using NDsolve

The codes goes like this: ...
BenXylona's user avatar
0 votes
0 answers
94 views

How to plot color range plot with data?

I have some data and want to plot it like in the figure mentioned but unable to do it. The code I tried is written below but it is not giving any plot. If anyone can resolve this is most welcome. <...
vijay bhatt's user avatar
0 votes
0 answers
35 views

How can ParametricPlot3D assign different colors to two curves from a function that returns 2 triples? Yes, I have tried "Evaluate"

I have a funciton of the sort myFn[t_]:=Module[{...}, (* some computation *) { {x1,y1,z1}, {x2, y2, z2} }]; When I call it as: ...
Dan Reznik's user avatar
0 votes
2 answers
154 views

How to construct the direction field for y' = y- cos\[Pi]/2x [duplicate]

How to construct the direction field for y' = y -cos π/2 x I have tried the Plot function Plot[Derivative[1][y][x] == y[x] - (cos π x)/2, y[x], x]
Andres E Vicente's user avatar
0 votes
0 answers
137 views

Plotting trajectories over an unit sphere surface

I have a data set which describes the magnetization direction of a material. It is normalized so I would like to plot it as a unit vector which moves over the surface according with the data file. The ...
Joshua Salazar's user avatar
0 votes
0 answers
30 views

Plot a quadratic bezier triangular patch [duplicate]

I need to construct a triangular patch by using the 6 control points: $$\begin{array}{ccc} \left(\frac{1}{2},\frac{\sqrt{3}}{4},1\right) & \left(\frac{1}{4},\frac{\sqrt{3}}{4},2\right) & \...
user75419's user avatar
0 votes
0 answers
33 views

Can't plot derivative of Hankel function [duplicate]

I am trying to plot the first derivative of $H^{(1)}_3 (ix)$ with respect to its argument $ix$, where $H^{(1)}_3 (ix)$ is the Hankel function of the first kind with order $3$, $x \in \mathbb{R}$ is a ...
BowPark's user avatar
  • 315
0 votes
0 answers
30 views

Parametric plot gives good graph for x variable range 0 - 10000 but fails to plot for 1 -- 10000

Please explain why pF4 provides a good graph while pF4a, pF4b give nothing ... All I do is change the range of variable x from 0-10000 to 1-10000 ...
Hookeslaw's user avatar
0 votes
0 answers
34 views

Manipulate is not plotting

I want to plot the output function of omega with the rest of the variables as parameters. I tried but its not plotting due t some reason. I tried removing omega m from the function and manipulate, ...
Lost's user avatar
  • 226
0 votes
0 answers
503 views

3D plot of a tensor

How to plot a tensor in three dimensions. For example, let us take a dielectric constant tensor of rank two. ...
user49535's user avatar
  • 1,225
0 votes
0 answers
109 views

How to fix a ParametricNDSolveValue? - Encountered non-numerical value for a derivative at t == 0

How to fix a ParametricNDSolveValue? - "ParametricNDSolveValue::ndnum: Encountered non-numerical value for a derivative at t == 0." I have tried ...
Chelsea Zebaze's user avatar
0 votes
0 answers
41 views

Implicit region misses definitions

I'm running the code eq1[v_] := eq1[v] = v[[2]] + Tan[\[Pi]/6] v[[1]]; ...
SoterX's user avatar
  • 294
0 votes
0 answers
143 views

2d list contour plot

I have plotted a ListContour plot with a large set of data i have and most of the points do not seem to have a distinguised colour, i.e, the color function needs to be re-scaled for my data. How can i ...
Sangami Ganesan Santhi's user avatar
0 votes
0 answers
39 views

Using ListDenistyPlot to Plot 3 Dimensional List

I have a question regarding how to use ListDenistyPlot. I am trying to plot a large list of data (150,000 data points) by using ...
Tom Jackson's user avatar
0 votes
1 answer
92 views

Get a List plot with help of module

I just want to get a list plot for my model which I wrote with help of the module. ...
Ali AlCapone's user avatar
0 votes
1 answer
75 views

I want to solve for X in an equation [closed]

I want to solve for X in the equation ode1 (Meaning to leave it alone, or that all the values are on the other side of the equal sign) but the answer it gives me includes to then graph it X vs L but ...
JorgeH's user avatar
  • 3
0 votes
0 answers
156 views

Animate ellipse drawing

$(x/3)^2+(y/5)^2=1$, $x=3\sin[t]$, $y=5 \cos[t]$ I want to draw a phase trajectory with time-lapse using manipulate or animate. Manipulate[ParametricPlot[(x/3)^2 + (p/5)^2 == 1, {x, -3, 3}, {p, -5, 5}]...
Tursinbay's user avatar
  • 161
0 votes
0 answers
67 views

Complex mapping of curve

I have a curve in the complex plane (a unit circle), and I want to plot the curve with a complex function applied to it ($f(z)=\sqrt{z}$) How do I go about doing that? I know how this can be done ...
Yizhar Amir's user avatar
0 votes
0 answers
90 views

getting the coordinates

With the given function from a previous problem I was solving link, I want to create/collect the coordinate points of Min. value for 21 values of parameter a (from -7 to 7), and find a,b, and c such ...
computer891's user avatar
0 votes
0 answers
44 views

Plotting only a maximum value of domain

I made a table containing many lists of c and Tpop function value. Since the domain is duplicated in the table, I have an image as below when I plot it (y-axis = TPop, x-axis = c). I want to plot only ...
B.Le's user avatar
  • 1
0 votes
1 answer
185 views

How can I use a logarithmic ScalingFunctions with ListContourPlot and DataRange? (i.e. no x- and y- inputs given)

There appears to be a bug in plotting, using ListContourPlot with ScalingFunctions->{"Log","Log"} and ...
Mark_in_DK's user avatar
0 votes
0 answers
62 views

Error while plotting a function, having an integration in equation

I am trying to plot a function which also includes a definite integration but I am getting an error (invalid integration variable or limit(s) Here is the code which I am trying ...
Bholu's user avatar
  • 91
0 votes
0 answers
33 views

Expanding a Function into a Series and Plotting it

I'm trying to expand the function: f(x)=cos(2x)sin(x/2) into two series (let x0=0) of small x, with the first series being 5 terms and the second series being 15 terms. Then plot the function and the ...
Klaptop's user avatar
0 votes
0 answers
67 views

Plot Table of Equations

I have a code where the first line of the body consists of an algebraic equation involving NIntegrate and the parameter a, for a ...
mathemania's user avatar
0 votes
0 answers
33 views

Problems with coordinates and axes in Plot

I just solve this system: ...
LINA MARCELA RUIZ GALVIS's user avatar
0 votes
0 answers
141 views

How to plot a function using a table particular values

I would like to plot the following function in terms of kR, but using specific different values, I think the best easy way is using a Table. This is a common useful problem to explore numerical the ...
irondonio's user avatar
  • 545
0 votes
0 answers
66 views

Axis not appearing in the correct location ListPointPlot3D

So when you make a 3D plot in mathematica, Plot3D, ListPlot3D, ListPointPlot3D, etc. the side of the box the axis show up on usually happens automatically. That is, the orient themselves so they're ...
user3556814's user avatar
0 votes
0 answers
88 views

Plotting Bessel Functions

As the subject title to the post suggests, I am trying to plot a Bessel function on Mathematica. The plot I am trying to create for can be seen below. $\frac{d(J_m (x))}{dx}$ for $m=0,1,2,3,4$ and $0 \...
Athenian's user avatar
0 votes
0 answers
61 views

When I combine Labeled with Rasterize the Labels get scaled wrong

I'm trying to create a high quality image for a publication, I am combining two plots, with a legend, and labeled using the Labeled command, I then use Rasterize to ...
SciFlyGal's user avatar
0 votes
0 answers
70 views

Why does ComplexListPlot labeling function require an Evaluate?

Start with the list of the cube-roots of unity: cubeRoots = ComplexExpand[Exp[(2 \[Pi] Range[0, 2] I)/3]] I want to use ...
murray's user avatar
  • 12k
0 votes
0 answers
79 views

How to solve the following equation numerically?

In the following code, if the matrix "n = (-I*(m1)) + (m2)" in the differential equation contains only the matrix "m1", I will get the answer, but if the matrix "n" is ...
Mojtaba Rezaee's user avatar
0 votes
0 answers
46 views

Replicating a PlotGrid without using Resources [duplicate]

I want to create stacked plots which have a shared x and y axis label. I found an article here from Wolfram, which does exactly what I want but uses ResoruceFucntion...
user27119's user avatar
  • 2,520
0 votes
2 answers
531 views

Why is ParametricPlot3D not producing a graph

I have the vector V = {2, y z^2, 3 y + z} I wanted to get a 3d parametric plot of V using: x[t] = Sin[t^2]; y[t] = t^2 - Cos[t]; z[t] = Sinh[t] - Cos[t]. So I did: <...
Kurapika's user avatar
0 votes
0 answers
73 views

On using VectorPlot

I am using VectorPlot to show direction fields for 1st-order differential equations. I basically learned to do this by example (from Wolfram Documentation and ...
K7PEH's user avatar
  • 619
0 votes
0 answers
19 views

Show ListPlot strange behaviour of label placement for small values of the y-coordinates

I do not understand the placement of the last label in the simple example ...
Jules Lamers's user avatar
  • 1,104
0 votes
0 answers
91 views

Plotting a List with (0,0) as origin

I have created a list which includes (0,0) in it but when plotted the plot is not joining the curve at (0,0). How to resolve this? ...
maddy's user avatar
  • 101
0 votes
0 answers
52 views

Plot returning negative values when the function is positive

I am trying to see if a function is positive or negative using Plot3D , when I used Plot3D it looks like the graph will have negative values since it shows values in the range of $-0.1$ but when I ...
Someone's user avatar
  • 185
0 votes
0 answers
21 views

Defining the support of a random variable in Mathematica [duplicate]

I wish to create a Mathematica module that would take as input a Mathematica-defined probability distribution D and will perform an integration over the support of its density f, $supp(f)$ (where $f:X\...
Avocaddo's user avatar
0 votes
0 answers
99 views

Error in Monte Carlo simulation. Now Random walk (dotted curve) doesn't fit to the analytical curve (dashed curve)

I've been trying to code a kinetic monte carlo simulation for a system of consecutive chemical reactions using a fixed (repaired) code that the user flinty gives me in the last questions I post: ...
Nebula's user avatar
  • 13
0 votes
0 answers
69 views

ParametricNDSolve is not returning results when I use list of functions

I am solving DE w/ parameters. It has many functions so I tried to automate using list but it is not working. Specifically, it does not give specific value even when all parameters are specified and ...
khvillegas's user avatar
0 votes
0 answers
72 views

Can you make a graph without storing values in a list first?

For example if I had: maxsize = 1000000; lis1 = {}; For[i = 1, i <= maxsize, i++, lis1 = Append[lis1, i]] ListLinePlot[lis1] In the current process a number ...
D'Angelo's user avatar
  • 103
0 votes
0 answers
58 views

How to find and split two surfaces made of roots of a determinant?

I have a matrix from which I want to find the roots for different values of [Delta]g0, [Delta]d0 and [Epsilon]. I know there will be a maximum of two roots for a set for a set of parameters and after ...
Vincent's user avatar
  • 21
0 votes
0 answers
77 views

How to modify the FrameTicks and the figure frame?

Recently, I am confused about the FrameTicks and Frame when I use the Mathematica. Is there someone can spend some time to read this post and help me? Thank you in advance! Here is my code: ...
Mr.2023's user avatar
  • 189
0 votes
0 answers
61 views

Frame ticks disappear in LogPlot and LogLogPlot -- Bug in Mathematica 12.1? [duplicate]

I have this code here: Plot[1/x, {x, 1, 10}, Axes -> True, Frame -> True] It generates this output, as intended: So far so good. But now I want to switch to ...
Jens's user avatar
  • 143
0 votes
0 answers
63 views

Plot3D lighting issue [duplicate]

Plot3D is giving me very weird lighting. If I run the following line of code from the Plot3D documentation. ...
flyingmind's user avatar
0 votes
0 answers
277 views

Part specification is longer than depth of object

everyone! I'm a bit new to Mathematica. Could you help me plot this: ...
PP804's user avatar
  • 13
0 votes
0 answers
172 views

Strange behaviour with EllipticTheta functions

For some time I have been using EllipticTheta[3,-,-] functions, and to me it seems that Mathematica is really not handling them in the best way. Below are two of ...
SaMaSo's user avatar
  • 231
0 votes
1 answer
67 views

Changing AxesOrigin on a ListPointPlot3D

How do you change the AxesOrigin to {0,0,0} for ListLinePlot3D? The code I initially have looks like this ...
SalahTheGoat's user avatar
0 votes
0 answers
82 views

Getting the contours near a singularity when using ListContourPlot

I need your advice. I'm using ListContourPlot to plot the lines of force, but It always skip the line, which are the nearest of the upper electrode. I tried to ...
Dominika's user avatar

1
300 301
302
303 304
321