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
1 vote
2 answers
77 views

Change the Filling order

I want to this: from this picture ,can find that "red" in front of "blue" My code: ...
user avatar
1 vote
2 answers
146 views

Finding and plotting solutions of a complex function

I have a complex function given by f1 = Sqrt[-16 x^4 - 16 y^4 - 16 z^4 - 32 I x^3 \[Pi] + 24 x^2 \[Pi]^2 + 8 I x \[Pi]^3 - \[Pi]^4] When I plot the real part of ...
user avatar
  • 577
2 votes
2 answers
126 views

PlotStyle for GridLines

I have: Plot[x^2,{x, 0, 5},GridLines->{{3,4}},PlotRange->{5,30},PlotStyle->{Black,Dotted,Thickness[0.003]}] How to make these two vertical lines in style ...
user avatar
0 votes
0 answers
56 views

Solving second order non-linear DE with boundary condition

I was trying to get some result from this equation but I can't find the solution. please see what is wrong with it??!! thanks f, s are positive and k will be negative or positive. ...
user avatar
7 votes
1 answer
116 views

Plot discontinuities use Piecewise

how can I get a plot like this? I tried with in Mathematica 13.0: ...
user avatar
3 votes
2 answers
114 views

How do I draw this solid in Mathematica with the given f(x,y) and r(t)?

$$\begin{align*} f(x,y)&=1+y^2\\ \mathbf r(t)&=2\cos t\,\mathbf i+2\sin t\,\mathbf j,\qquad 0\le t\le 2\pi \end{align*}$$ How do I draw the solid shown above given the $f(x,y)$ and $r(t)$ ...
user avatar
  • 41
4 votes
2 answers
345 views

Plot various 2D curves in 3D

I can embed a 2D curve f00==0 in 3D space using ...
user avatar
  • 577
2 votes
1 answer
69 views

Plotting the intersection between two surfaces [duplicate]

I have two surfaces given by ...
user avatar
  • 577
3 votes
2 answers
172 views

Use python color scale in mathematica density plot

I have a python code for data analysis, that uses the "seismic" color scale for 2D density plots. However, I also need to do some other plots with Mathematica (because of packages etc), for ...
user avatar
  • 347
4 votes
1 answer
100 views

Better visualisation with ContourPlot3D

I have a function that I have plotted with the Contourplot3D using ...
user avatar
  • 577
3 votes
2 answers
147 views

Remove the white space bounding a 3D plot

The following simple 3D plot always bears a rather wide empty space surrounding the sphere. I only need the sphere and vectors without box or axes. How to remove/control the empty space? A few padding ...
user avatar
  • 4,104
6 votes
1 answer
70 views

Set user-defined uneven step size in ListStepPlot

I want to plot the following data as steps: Ydata={2,4,6,8,10}; Xdata={2,8,18,34,64}; halfbinsize={2,4,6,10,20}; I want to include the bin-size (or half-bin-size) ...
user avatar
  • 1,123
5 votes
1 answer
75 views

Changing callout sizes in TimelinePlot

I have a large, complex TimelinePlot in which the callout bubbles are too large, as shown here: I'm happy with the font size and layout, but the bounding panes should be reduced (vertically) by a ...
user avatar
4 votes
4 answers
232 views

Best way to smooth, interpolate and differentiate over a list of data

I have a list given by: ...
user avatar
2 votes
0 answers
34 views

Stipple shading in Plot3D - color and grain control

Following line of code ...
user avatar
  • 121
1 vote
0 answers
45 views

How to plot data in descending order in mathematica? [closed]

I have some data which is in Erfc from , i would like to curve fit on a particular function given to me. But mathematical plots the data in ascending order.That is, But i want the plot to be How do ...
user avatar
-1 votes
0 answers
26 views

Transforming Plot scale to LogLogPlot scale

How to estimate scales after transforming Plotto LogLogPlot, consider for example the following ...
user avatar
  • 155
0 votes
0 answers
52 views

animate gif of ContourPlot using table

Hello i have this correct code to show ContourPlot for retarded time potential. it's working excellent, i just need to animate it using table function, i got lost ...
user avatar
  • 1
3 votes
1 answer
119 views

Plot planes of 3D vectors without severe scale distortion

I need to visualize a few planes/slices of a 3D vector field. The first plot with only one slice is fine. Now I want to plot three slices of vectors together. And I need to separate the three planes ...
user avatar
  • 4,104
0 votes
1 answer
69 views

Scales in this Logarithmic plot

I have this graph Which is f[a] with a range {a,0.0001,1} and an arbitrary initial ...
user avatar
  • 155
1 vote
2 answers
160 views

How to Plot the solution of the heat equation on rectangle

I am trying to get the solution of the heat equation on the rectangle $(0,a)\times (0,b)$ with initial condition $u(x,y,0)=g(x)$, using the usual analytical method (by expanding as a series of ...
user avatar
  • 125
1 vote
1 answer
100 views

Plotting Catalan surface

I'm trying to plot a Catalan surface with the following code, but nothing happens, it runs but does not display my image. is there anyone who knows what I need to change in the code? Thank you! ...
user avatar
-2 votes
2 answers
148 views

Plotting surface [closed]

Does anyone know how to plot this image? I am writing an example for Kenmotsu's representation theorem , for $\varphi :% %TCIMACRO{\U{2102} }% %BeginExpansion \mathbb{C} %EndExpansion -\{0\}\...
user avatar
1 vote
1 answer
80 views

Plotting image with several functions

i was trying to plot this image (for the values of B: 0, 1, 1/2 , 3/2): Using this code: ...
user avatar
2 votes
2 answers
66 views

DecimalForm in Plot Ticks

I'm trying to get my plot ticks in decimal form. The automatic output is Plot[x, {x, 0, 10^-5}] but I would like all ticks in the format 0.000008 etc. I tried the ...
user avatar
  • 407
2 votes
0 answers
69 views

Evaluating and Plotting 3F2 is very slow

I am interested in certain hypergeometric functions $ G_p(z) = \frac{1}{2} {}_3F_2 \left( \begin{matrix} p & p + 1 & \frac{1}{2} \\ 1 + i & 1 - i & \end{matrix} ;z \right) $ and would ...
user avatar
1 vote
2 answers
151 views

mathematica unduloid and nodoid plotting

is there anyone who can help me plot this? I am currently using Wolfram Cloud but it doesn't allow me to plot these codes. I would really appreciate it. Thank you! ...
user avatar
2 votes
1 answer
94 views

How to make this graph

How to fill colors between GridLines, or to color between different regions on the x-axis, like this graph. Also to add the descriptions inside the plot, and to make the AxesLabels beside and below ...
user avatar
  • 155
0 votes
0 answers
29 views

Plot overparametrized domain

I would like to plot the region swiped by varying some parameters, and I've been unable to find a function that does what I want. ParametricPlot works when the region depends on two parameters, but ...
user avatar
  • 261
0 votes
1 answer
40 views

Storing the output of NSolve for plotting Purposes

I have a system of 6 nonlinear equations which I want to solve for 6 unknown constants; $A_i, i=0,...,5$. I wrote the following script which successfully does that: ...
user avatar
  • 201
3 votes
2 answers
62 views

How to plot list of segments?

Consider the following table: ...
user avatar
  • 3,832
4 votes
3 answers
256 views

How to plot the following region with bold ribs?

Consider the following region: ...
user avatar
  • 3,832
0 votes
0 answers
29 views

Interpreting Density Plot Output

I used density plot to plot a (rather) complicated function on X-Y axes. The domain of interest is [0,1]*[0,1]. The output I get however is blank on the boundaries and so am unsure about how to ...
user avatar
  • 153
1 vote
1 answer
55 views

Raw Object 100.` cannot be used as an iterator [closed]

There's a similar question here on Mathematica Stack Exchange, however it was left unanswered and the context is not the same. I have this code ...
user avatar
1 vote
2 answers
125 views

Plot swiped domain when varying parameters [closed]

I would like to plot the region swiped by varying some parameters, and I've been unable to find a function that does what I want. ParametricPlot works when the region depends on two parameters, but ...
user avatar
  • 261
0 votes
1 answer
55 views

How to reduce the spacing between legend in plot

I would like to know how to reduce the vertical spacing between the legends in the PlotLegend option. In the answer to this similar question in How to change the spacing of line in legend? it suggests ...
user avatar
0 votes
1 answer
141 views

How do I plot a gigantic function easily on Mathematica? [closed]

I need to graph a gigantic function on Mathematica, that has other functions inside it and some constants with preassigned values that come up a lot! For example: W = QbBesselK...., in which Q is an ...
user avatar
0 votes
0 answers
45 views

Merge plots and imported images

I am trying to plot some things using Mathematica. I haven't used Mathematica for plotting before , so apologies if my question is basic. I have the following image, which is my target image: I also ...
user avatar
0 votes
1 answer
54 views

How to set fixed colorbar values for jet colormap?

I want to use the jet color function in Mathematica, and the jet color function is defined as ...
user avatar
  • 119
0 votes
0 answers
54 views

ParametricRegion in Region produces misshapen result

Prompted by an answer to question 170254, I considered ...
user avatar
  • 58.4k
-3 votes
1 answer
84 views

how to get the best Best Fit Parameters of a special-function nonlinear fitting and how to find a good starting value? [closed]

...
user avatar
  • 33
5 votes
1 answer
94 views

Charting`ScaledTicks not working anymore in Mathematica 13

Charting`ScaledTicks was a convenient way to organize Ticks or Frameticks in Mathematica without needing to define a tick-function. Basically most tick-related questions here were answered with this ...
user avatar
6 votes
2 answers
189 views

Remove islands from geographic regions

I wish to get only the continental parts of countries when using GeoGraphics, for instance in ...
user avatar
1 vote
1 answer
102 views

How to make an integral and reproduce its graph

How by Mathematica we can make the integral, equation (101) in arxiv:1307.5949 $ H_0(t-t_0) = \int^{\frac{a}{a_0}}_1 ~ \frac{da’}{\sqrt{ \frac{\Omega_r}{a’^2} + \frac{\Omega_m}{a’} + \Omega_\Lambda ...
user avatar
  • 155
0 votes
1 answer
49 views

Legends size using "Show" function

I have two graphs: ...
user avatar
0 votes
1 answer
109 views

Zooming into a plot?

Consider: ...
user avatar
  • 465
2 votes
2 answers
354 views

Phase Portrait on a Simplex

I am trying to analyze the following system of differential equations: $\dot{x}_1 = x_1^3 + 3x_1^2x_3+3x_1 x_3^2 -x_1,$ $\dot{x}_2 = x_2^3-x_2$ where $0 \leq x_1,x_2,x_3 \leq 1$ and $x_1+x_2+x_3 =1.$ ...
user avatar
  • 153
2 votes
4 answers
240 views

Plot3D in Mathematica a function

How I plot the attached function $G(t,s)=s(t-1)$ for $0\leq s\leq t\leq1$ and $G(t,s)=t(s-1)$ for $0\leq t\leq s\leq1$(In Picature in Mathematica and How I change the color from yellow). I have tried ...
user avatar
3 votes
2 answers
100 views

Solve for subset of parameters in ParametricPlot

I have a discretized region $\mathscr{R}$ and two functions $x(u,v)$ and $y(u,v)$. I wish to find (numerically of course) the values of $(u,v)$ such that $$ \begin{align} \left(x(u,v),y(u,v)\right)\in ...
user avatar
1 vote
1 answer
57 views

Fit Gaussian Function plot

These are my data, x data are in Log,and i want to find their gaussian function fit.Can someone help me to have thier Gaussian plot? ...
user avatar