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
4 views

DiscretePlot with a List as argument

Suppose I have some multidimensional function that is computationally very expensive to evaluate. Here, I will just use ...
user avatar
  • 101
0 votes
0 answers
7 views

Ploting the probability time evolution

I'm trying to reproduce this graph that is about the time evolution of a probability, for very small times: Where this probability is given by: $$P=\left|\vert A(E)\vert^{2}e^{-iEt}dE\right|^{2},$$ ...
user avatar
0 votes
0 answers
41 views

Properly Updating Particle Motion in 3D Electric Field Simulation

I have a code (very bottom of post) which plots a static electric field as it passed through some metal sheet with an aperture in it. I seek to observe the motion of some N charged particles (point ...
user avatar
  • 25
0 votes
0 answers
38 views

Why is my svg image composed of surfaces instead of lines?

I'm trying to export this plot in svg format. However, if you analyze the exported svg image, you would see that they're composed of surfaces instead of lines like this: I suspect that this is the ...
user avatar
  • 1,972
4 votes
1 answer
68 views

Plotting a table with one x-value and multiple y-values

I have a table which reads ...
user avatar
  • 619
1 vote
1 answer
66 views

How to add arrowhead for axes in frame?

How can I add arrows for axes of frame? This works well if there is no frame but it doesn't work when I added frame. ...
user avatar
  • 1,972
3 votes
2 answers
49 views

How can I flip/mirror the legend? [duplicate]

How can I flip/mirror the legend like this? The text should be right aligned and if the text is longer than the text move to the left. ...
user avatar
  • 1,972
1 vote
0 answers
26 views

How to middle align text and the markers and place the legends for this?

How can I middle align the legends and markers? Changing the font size make it not aligned. ...
user avatar
  • 1,972
1 vote
2 answers
181 views

How to plot the data where y is a function?

how can I plot the data (x,y)by knowing a and b and x values? x = {0.2, 11, 16}; y = Exp[(-a*x - b*x^2)]; a = {0.510, 0.280, 0.250}; b = {0.380, 0.240, 0.330};
user avatar
0 votes
0 answers
30 views

Making a plot accurate (PlotPoints -> 1000, MaxRecursion -> 20, WorkingPrecision -> 20) didnt help

The command: ...
user avatar
  • 1
0 votes
1 answer
41 views

3D Parametric Plotting for N Charged Particles in a Nonuniform Electric Field

I have a code (very bottom of post) which plots a static electric field as it passed through some metal sheet with an aperture in it. I seek to observe the motion of some N charged particles (point ...
user avatar
  • 25
-2 votes
1 answer
46 views

How can the Style of one dataset be applied to another data set for plotting

I have a data set that must be plotted using BarChart, and I would like to format the color based on another dataset's style. For Example: ...
user avatar
  • 4,376
4 votes
1 answer
177 views

How are the projections of this plot made?

I want to make projections of a 3D plot as shown in this image . I took this image from this paper: Multiphoton state engineering by heralded interference between single photons and coherent states. I ...
user avatar
  • 147
-3 votes
0 answers
37 views

How can I plot the scattering phase function of a polarized light on a 3D sphere? [closed]

This is my first time using mathematica for plotting. I learned some techniques to plot my data but didn't get the right answer. I want to plot the scattering phase function on a 3D sphere as shown in ...
user avatar
3 votes
2 answers
137 views

In PolarPlot, how to automatically fit the PolarTicks and show the radius ticks?

...
user avatar
  • 1,284
0 votes
1 answer
62 views

Plot two list for differen first list parameter

I have a series of equations based on which I plot final lists of "xA1","yB1". I need to change "xA1 = {0.55}" and "yB1 = {0.6}" between [0,1] with interval 0....
user avatar
  • 3
0 votes
2 answers
39 views

Additional line in the Plotting

I'm trying to plot a function, the problem is that the plot contains additional lines which originate from the solution itself, but at the same time removing the solutions will delete a whole portion ...
user avatar
0 votes
1 answer
55 views

How can one plot a sum in mathematica? [closed]

I would like to plot the following answer to the heat equation, Sum[(((-1)^n - 1)/n^2) Cos[n x] Exp[-(n^2 t)], x] But since it is a sum, it does not appear to work....
user avatar
  • 269
5 votes
3 answers
416 views

How can I extract just the legend from this plot?

How can I extract the legend from the following plot? ...
user avatar
  • 1,972
1 vote
1 answer
57 views

Separate ContourPlot3D generated planes

I use ContourPlot3D[ -7 - 12 x + 32 x^2 + 54 y - 28 x y - 67 y^2 + 16 z + 88 x z - 136 y z + 28 z^2 == 0, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}] get this You ...
user avatar
1 vote
1 answer
70 views

An issue in ListDensityPlot

I am having an issue with getting a nice plot but ListDensityPlot is returning a plot with white area. I thought this could be due to the singularity, then I have ...
user avatar
  • 469
4 votes
1 answer
193 views

How can I remove markers with numbers 2, 5, 7?

How can I remove the markers with some specific numbers, for example like 2,5,7? ...
user avatar
  • 1,972
1 vote
1 answer
42 views

How do I construct and plot functions properly using NestList?

I am trying to construct a function using NestList and plot the values. Although the individually used and defined functions in my notebook seem to do the right ...
user avatar
1 vote
1 answer
32 views

Additional lines in the plotting graph

I tried to plot the following ...
user avatar
2 votes
1 answer
111 views

How can I remove plot markers at some desired points?

How can I remove plot markers at some data points? For example, I want to remove one plot marker at the circled point leaving only one marker there. I tried deleting the data points but this would ...
user avatar
  • 1,972
0 votes
0 answers
45 views

How to mix two styles with some lines with filled and non-filled markers?

How can I mix styles with some lines with filled and non-filled markers? The post here mentioned all cases but I couldn't combine them into one plot. ...
user avatar
  • 1,972
-1 votes
1 answer
76 views

How to apply the style of one set of data to another set of data? [closed]

I have a data set that must be plotted using BarChart, and I would like to format the color based on another dataset's style. For Example: ...
user avatar
  • 4,376
0 votes
0 answers
33 views

Is the integration feature of an interpolated plot/function supposed to have a much larger maximum and range values in general?

So, I have imported data from a software called NextNano, plotting electron density. My first step was to define the data within the desired domain data={,},.... ...
user avatar
0 votes
0 answers
46 views

How to Combine 3d Plots

I am trying to analyze data from a high-altitude balloon (HAB) launched in Ohio, and I would like to use Mathematica to do this. Currently, I have used Mathematica to generate a plot of the topography ...
user avatar
4 votes
2 answers
237 views

How can I move these numbers to the right side of the y axis?

How can I move these numbers to the right side of the y axis? (preferably not using frame) Plot[1 + x^2, {x, -5, 0}] Here is my orginal problem. I tried my best ...
user avatar
  • 1,972
2 votes
2 answers
149 views

How to plot two functions?

a[x_,y_]:=x^3+y^2; b[x_,y_]:=x^2+y^3; I want to plot a[x,y] in x axis and b[x,y] in y axis for different values of x and y say, we fix y=1 and x goes from 1 to 10.
user avatar
  • 115
2 votes
1 answer
71 views

Can BarLegend Tricks be set according to the function?

I am using it like this . Now how to set barlegend numbers according to the c[x] value? ...
user avatar
  • 115
0 votes
1 answer
55 views

Add barlegend colored by area of circle

I am using the following code where color and color barlegend show the radius of the concentric circles: ...
user avatar
  • 115
1 vote
2 answers
73 views

Defining Dirichlet Boundary Conditions on an Imported 3D Object with Apertures in it

I am trying to simulate a static electric field (in 2d and 3d) as it passes through a couple of apertures in a 3D "metal sheet" (model imported as a .obj file) given here: https://www....
user avatar
  • 25
2 votes
1 answer
129 views

How to add color BarLegend here?

How can I add a BarLegend to the following plot? ...
user avatar
  • 115
0 votes
1 answer
37 views

How to use Callout for joined points line

I want to use Callout to make a label of my joining point, instead of using PlotLabels like this ...
user avatar
2 votes
1 answer
166 views

ContourPlot U^2+W^2=V^2 -> V(U), where U, V solutions of equation from special functions [closed]

CountourPlot W(U) I have this following code of it: ...
user avatar
  • 31
5 votes
1 answer
83 views

Copy value of Tooltip from AnatomyPlot3D

When plotting anatomy data with AnatomyPlot3D[Entity["AnatomicalStructure", "LeftIndexFinger"], Method -> {"Tooltips" -> True}] ...
user avatar
  • 1,344
1 vote
3 answers
258 views

The fitting curve cannot be found correctly

I want to fit this function $$ \operatorname{PF}\left(\sigma_{f_{0}}\right)=1-\exp \left[-\left(\frac{\sigma_{f_{0}}-\sigma_{\min _{0}}}{\lambda}\right)^{k}\right] $$ I already have some points ...
user avatar
0 votes
0 answers
81 views

Is there any way to magnify the figures in the "Show" command?

I am trying to magnify a small part in the following Mathematica figure. What should I write in the 'show' environment to magnify the specific part of the figure? ...
user avatar
  • 1
0 votes
1 answer
53 views

Ploting solution to a differential equation with different parameters

I want to plot the solution to the following differential equation with different values of parameters. What is the best way to do it instead of solving the equation individually by inserting the ...
user avatar
  • 107
1 vote
1 answer
47 views

Combining a ContourPlot3d and parametric plot 3d [closed]

I am trying to put these two graphs together but and getting the shown error: ...
user avatar
  • 33
1 vote
1 answer
41 views

Issue with using complexplot with Nearest

I have been trying to create a certain fractal with Mathematica but the main issue is that if I try and do something like ...
user avatar
1 vote
1 answer
192 views

How do I plot the Lorenz attractor inside an ellipsoid? [closed]

How do I plot the Lorenz attractor given by the following code, inside an ellipsoid. I have two things with me: The Lorenz system with P=6.06739, b=2.6678, r=30 and x,y,z are functions of time. ...
user avatar
0 votes
1 answer
41 views

delete of some special points

I wan to delete some points in this picture ...
user avatar
0 votes
0 answers
43 views

Plotting using the logit scaling functions

...
user avatar
2 votes
2 answers
96 views

PolarPlot with function output represented with color rather than distance from origin

A normal PolarPlot takes in a function of an angle $\theta$ and outputs a 2D graph in which the value of the function at each value of $\theta$ is encoded by the ...
user avatar
5 votes
2 answers
201 views

ContourPlot -- coloring the plot lines

I have 2D implicit functions which I would like to plot in color, with given color functions. E.g.: ContourPlot[y^2 - x^3 + x^4 == 0, {x, 0, 1}, {y, -1/2, 1/2}] ...
user avatar
9 votes
3 answers
192 views

How to make these callout labels not overlap

This is my code: ...
user avatar
  • 23.7k
0 votes
1 answer
37 views

Discontinuous plot problem while plotting after using NSolve

My problem is when I try to numerically solve an equation, and then substitute the solution in my function (i.e substituting y in the x's in my function), the plot appears to be discontinuous (it ...
user avatar

1
2 3 4 5
282