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

GraphicsGrid and PlotRangeClipping

the following command creates a strange output: ...
Stefan Gillessen's user avatar
2 votes
1 answer
66 views

No Color when using Directive (or List) in ColorFunction in 14.0 on Linux

Switching to Version 14.0 (Linux), I noticed that Directive behaves unexpectedly when used inside ColorFunction for 3D Graphics. I wasn't able to find any further ...
ZehDeckel's user avatar
0 votes
0 answers
37 views

2D Projected Stocastic GPE Equation With Vortices

I am trying to solve the Projected Stochastic Gross-Pitaevskii equation with periodic boundary conditions from this paper https://arxiv.org/pdf/1905.05263. This equation can be found in https://...
Argha Debnath's user avatar
0 votes
1 answer
51 views

FrameTicks too small

The frame ticks here appear to be realy small. especially when it comes to minor ticks.. What I want is this: I have used the same code for these two graphs, but the outcome is different: ...
lia's user avatar
  • 347
0 votes
1 answer
133 views

Finding and Plotting Minima

Using the same concept discussed in Plotting minima of a mutivariable function, I am trying to plot the minimas for the function z[v_, t_] here. This is what I am ...
raf's user avatar
  • 149
3 votes
1 answer
101 views

RegionPlot does not work appropriately

I am trying to use RegionPlot to show acceptable values of parameters. I am using the code ...
yousee's user avatar
  • 41
5 votes
1 answer
150 views

Using `Scaled` in an `Epilog` to `Plot`

I want to plot a simple function with added text: Plot[1/5*x^5 + 1/3*x^3 + x, {x, -5, 5}, Epilog -> {Text["text here", {2, 250}]}] However, I want ...
Richard Burke-Ward's user avatar
0 votes
1 answer
49 views

Plotting a function that is a function of another function

I am trying to plot the following graph for different values of t (t=1 to t=10) in one plot. ...
questionerno8's user avatar
4 votes
1 answer
102 views

How to convert the legend bar to scientific form? [duplicate]

Consider the following data and corresponding ListDensityPlot: ...
John Taylor's user avatar
  • 5,887
0 votes
0 answers
72 views

How to plot (2D) the projection of two planes in a 3D graph?

I have a 3D data set that I have represented in a graph. Subsequently, I have defined two planes that intersect the obtained figure at x and y, intersecting the data with a minimum value of z. I would ...
Marina Nebot's user avatar
-1 votes
1 answer
60 views

Is the output for ConvexHullRegion wrong in Mathematica 13.3? [closed]

The first example in the help for ConvexHullRegion is: ...
florin's user avatar
  • 1,900
2 votes
1 answer
111 views

To overlay two curves from a plot

I have just installed Mathematica and appreciate your help on my question. I have the following picture: Is it possible using Mathematica to flip the green curve and overlay it on the blue? My ...
Novice's user avatar
  • 21
1 vote
1 answer
46 views

Position text in a plot with varying axis scales

I have the following plot: ...
Richard Burke-Ward's user avatar
10 votes
1 answer
336 views

Reproducing Ruth Vollmer's acrylic Steiner surface

I recently discovered a very beautiful Steiner surface which is owned by the Whitney Museum of American Art in New York City. It was created in 1970 by Ruth Landshoff Vollmer (1903 - 1982), a German-...
eldo's user avatar
  • 81.5k
2 votes
3 answers
295 views

Filling the areas enclosed by two curves and calculate them

I know that there are plenty of posts on this, but I just cannot find the right one that solves my issue. The issue is that I have two datasets that I plot them using ...
KratosMath's user avatar
  • 1,309
0 votes
0 answers
50 views

Numerical Integral and Partial Differentiation Of a Complicated Expression

I need help plotting Figures 1 and 2 solving EQ 36 and 37 from https://arxiv.org/pdf/2310.12445. here I am trying to find \Gamma,\phi and their Q values for ...
Argha Debnath's user avatar
4 votes
0 answers
99 views

Changes to Charting`ScaledTicks

The undocumented command Charting`ScaledTicks is used to easily define Ticks for a plot. However, it changed dramatically between Mathematica 12 and Mathematica 13. In Mathematica 12 the command was <...
mathematica_guy's user avatar
3 votes
1 answer
63 views

LogPlot and % preventing PlotStyle from being correctly applied

I'm running into a problem that does not seem to be documented anywhere (or at least, Google does not find it). I will give a MWE highlighting it, which I hope clearly shows the issue. The situation I ...
Thomas's user avatar
  • 41
0 votes
0 answers
85 views

ListPlot3D ignores points

First time asking something here, so apologies if I omit important info. I am trying to make a 3D-Plot of some data with three variables. It works fine with ListPointPlot3D where all the data points ...
entosse's user avatar
0 votes
3 answers
88 views

How to plot this data set, ignoring the initial oscillation?

Suppose I have an array given as: ...
user444's user avatar
  • 2,644
1 vote
2 answers
147 views

Histogram from a large dataset

I have a dataset in csv form which contains entries in the following form: data in mm/dd/yy format, time in 00:00:00 format, day of the week in 'Monday,...,Sunday' format, latitude, longitude Its a ...
UPS's user avatar
  • 145
0 votes
1 answer
74 views

How can I use the values of one plot in another one?

I have a two functions that I have to plot versus Q: the first is Ri which is a solution for ...
Houhou Trad's user avatar
0 votes
0 answers
96 views

Why is NDsolve plot returning an empty plot?

This is a very simple problem to solve. I am trying to use NDsolve to solve for a 1D linear Poisson's equation on the form $n \nabla^2 u + \nabla u \cdot \nabla n = ...
Mathew77's user avatar
2 votes
2 answers
96 views

Partial Derivative after Numerical Integration of a Complicated Expression with Singularity at Zero

I want to generate Fig no. 2,3,4 from https://arxiv.org/pdf/2212.08237 with the help of the following equations. In Fig 3 t_(opt) is the time Q_T reaches its max value Q_T(opt) for each T. Here is ...
Argha Debnath's user avatar
1 vote
1 answer
52 views

Solving and plotting roots of a non polynomial equation with parameters

In Mathematica 12, I want to find the roots r of this equation in terms of the parameters M and Q, then plot r versus Q for some values of M. ...
Houhou Trad's user avatar
5 votes
3 answers
155 views

White grids appears when export GraphicsRow to PDF

I'm trying to export a GraphicsRow[{ListContourPlot[]}] to PDF. (Added: for some reason I need to use the GraphicsRow rather than just ListContourPlot. And problem happens when I run this function. So ...
Isaac Wang's user avatar
0 votes
1 answer
61 views

I have a problem with this code because it is time invertible symmetric but it is not working

I have this code I want to check for a numerical solution. I get the same shape. The function $y$ is an invertible in time so I plot $y[x]$ and $p[t]$. The $p$ function should decrease but it isn't ...
Felipe Dura's user avatar
0 votes
3 answers
114 views

All composite numbers are crossed by the lines

I'm trying a version of the code with the concavity of the parabola upwards (y=x^2), but I'm not succeeding. I appreciate any help. ...
Rubens Vilhena Fonseca's user avatar
0 votes
0 answers
48 views

What is the best way to plot/visualize an expression of three unknowns?

I have the following simple expression fun[x0_, x1_, x2_] = 4*x1*(x1 - (x0^2*x1*x2^2)/(-x1^2 + x2^2)^2); What is the best way to plot this information since there ...
phy_std's user avatar
  • 143
8 votes
1 answer
184 views

Poor performance in ListPlot[] Mathematica 14

Recently I started working with Mathematica 14 and I notice a new dynamical feature in the functions Plot[] and ListPlot[], ...
RL's's user avatar
  • 135
2 votes
3 answers
297 views

Styling histograms

Consider this code: ...
John Taylor's user avatar
  • 5,887
4 votes
4 answers
219 views

Lines of intersections in a parabola

To test the parabolic sieve, my intention was for the graph to show the coordinates of two points on the parabola and the value of the intersection on the y-axis. A table with this information would ...
Rubens Vilhena Fonseca's user avatar
3 votes
3 answers
254 views

Plotting minima of a mutivariable function

Consider a function, z (x,y) = x^2 + y^2 + 3*x*y. For a range of x, I like to plot the minimum values of ...
raf's user avatar
  • 149
2 votes
2 answers
65 views

HoldForm Error for Illustrating Coordinates

I am having trouble illustrating tupoint[c, b, a, d, t] in the right diagram. When using the tax unit slider, the red coordinate should be moving along the graph - illustrating the current tax vs. the ...
Tom's user avatar
  • 373
2 votes
2 answers
85 views

Construct plot of $exp(1/z)$ [closed]

I want to plot the function $f(z) = e^\frac{1}{z}$ in 3 forms: First to be a plot like [this][1]. But I want to show legend of both magnitude and imaginary part scales. Second to be a plot only with $\...
MathLearner's user avatar
6 votes
1 answer
165 views

Extending DiscretizeRegion from 2D to 3D [duplicate]

I am trying to construct some 3D printable parts using discretized regions, and am curious if there is a good means to transform a well-designed 2D region into a corresponding 3D region extended ...
ChaSta's user avatar
  • 1,177
6 votes
1 answer
222 views

Adding shadows to spiric sections of a torus

While adding shadows to the spiric sections of a torus using the The answer to the question given by Daniel Huber, I faced a problem. Instead of being well separated as previously, the sections ...
user444's user avatar
  • 2,644
1 vote
0 answers
136 views

Plotting of Lorenz and Bonferroni graphs

enter image description hereHow to draw the Lorenz (𝐿𝐹 (𝑡)) and Bonferroni (𝐵𝐹 (𝑡)) curves for the given distribution with 3D version with interpretation with varying parameters, and when the ...
Sid's user avatar
  • 11
5 votes
1 answer
54 views

Styling BarLegend frame/edge/axis/ticks

Consider the following plot. Produced with this code: ...
flyingmind's user avatar
1 vote
0 answers
96 views

Computing eigenvalues and eigenvectors of large matrix and scaling of data

I am trying to plot graphs 1(a1,b1,c1) from https://arxiv.org/pdf/2404.14971 by solving Eq.1. This gives a matrix. For the energy plot, we have to find the lowest 2 eigenvalues and find the difference ...
Argha Debnath's user avatar
1 vote
2 answers
116 views

Using numerical method to go backward for ODE [closed]

I want to use this code for the backward Numerical solution but patently not well defined? ...
Felipe Dura's user avatar
1 vote
1 answer
89 views

Issue in Mathematica plot for Imaginary part

I am trying to plot a function, but the output is not continuous. Here is my code ...
questionerno8's user avatar
0 votes
1 answer
65 views

Graphic options stop working when displaying multiple contourplots

I want to show multiple contourplots next to each other as shown in the following picture: I tried the following code: ...
100xln2's user avatar
  • 437
6 votes
4 answers
263 views

Unable to plot $\exp(-a \sqrt{1+x^2})$ for $a>700$

I am trying to plot the function bellow f(x,a) for a = {700,750,1000,2000} ...
Gallagher's user avatar
  • 869
1 vote
1 answer
82 views

Finding fixed energy trajectories between two points

I am trying to plot the fixed energy trajectories for motion in a potential $ V(x,y) = \frac{1}{2}x^2y^2 $ from the initial point $(x=1, y=0)$ to the final point $(x=0, y=1)$. The equations of motion ...
amy's user avatar
  • 15
0 votes
0 answers
53 views

Select a specific range for extracted points from a plot into an Excel file

I use Cases in order to extract points from a plot. pointsp = Cases[plot2, Line[{x__}] :> x, All]; Then I export the points ...
mohey eldien hussien's user avatar
2 votes
1 answer
75 views

How to define a function that returns a variable storing plots instead of plotting them to the output

I define a simple function that returns variables storing plots: ...
Paweł Korzeb's user avatar
3 votes
2 answers
47 views

shifted axes in Show

I want to plot two functions in one graphic. I wanted to do so by using Show. Show[Plot[x,{x,0,4}],Plot[x^2,{x,0,4}]] However I ...
ZaraReinm.'s user avatar
1 vote
1 answer
53 views

Using a pre-rendered image of a plot within a Mathematica Figure

I want to plot new data over data that I only have in the form of a figure in order to be able to make a comparison. Say for example I have only the image (not the original data) produced by (or ...
Kvothe's user avatar
  • 4,591
0 votes
2 answers
88 views

Numerical and analytical solutions do not agree [closed]

Hi everyone could anyone have look why this code is not running? ...
Felipe Dura's user avatar

1
2 3 4 5
321