Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plotting]

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

7
votes
1answer
183 views

Varying the size of dots in a plot according to information contained in list

Suppose I have the following coordinates that I want to plot: ...
0
votes
0answers
131 views

Solving a second order ODE with ParametricNDSolveValue

I am trying to numerically solve a nonlinear ODE on the interval 0 to R, using ParametricNDSolveValue. The boundary conditions ...
1
vote
1answer
35 views

Label with a formal part and a computed part

If would like to print $\left(\frac{b}{a}\right)^2$= (b/a)^2 inside a plot or a graphics where a and b have been seted to certain values so the first part is analytic and the second part (after the =)...
4
votes
2answers
226 views

Is this a bug in plotting step functions?

The following simple code generates a flawed plot: ...
2
votes
1answer
56 views

Consecutive `PlotStyle` across multiple plots

Problem I would like to use consecutive PlotStyles (e.g. from ColorData[...]) across different ...
1
vote
0answers
28 views

What is the correct way to use OpacityFunctionScaling with DensityPlot3D?

I am trying to plot solution of heat PDE in 3D. Inside a cylinder. To do this, I am using DensityPlot3D. But I am having hard time getting the colors to show in ...
0
votes
2answers
38 views

Using “Show” in an interval

I have plotted two functions as below: ...
0
votes
0answers
48 views

How to show specific points in a graph? [closed]

Someone could help me how can i show the points of max and min of this graph? I wanted they show in the graph. Thanks a lot! Like that:
1
vote
1answer
47 views

Plotting Data Points Yields Strange Result

I want to plot a rather big amount of data points. About 16000 points. I'm still a newbie to Mathematica so I hope it's just a simple mistake. Heres a minimal example: ...
0
votes
1answer
33 views

How do I plot the output of Solve as a function? [closed]

I have a system of equations (13 eq) and I want to solve for S. There are four solutions in terms of k and ...
0
votes
0answers
37 views

Plotting data imported from Excel and overlaying it on a disk

I'm new to Mathematica and I'm trying to get the hang of plotting data from an external CSV file. The data is just x, y, z values from an experiment I ran. I would ...
0
votes
1answer
50 views

How to plot solutions of equation involving Bessel functions? [closed]

I'm new user in Mathematica and I'm trying to plot the solutions of this equation $$ G_{0}(r) = i\frac{H_{0}(kr)}{8k^2}-\frac{K_{0}(kr)}{4\pi k^2} $$ where $H_{0}$ is the zeroth-order Hankel ...
3
votes
1answer
63 views

Help with solving a PDE and plotting its solution

I have trouble with solving the PDE with periodic boundary condition, which appears to be stiff somewhere, so I tried "StiffnessSwitching". But the code still doesn'...
0
votes
1answer
76 views

Plot the ellipse in Mathematica 12.0

...
0
votes
1answer
28 views

Plotting roots of a non polynomial function

I'd like to plot the solutions of a function f(y)=k, when f(y) is non polynomial. This is the Mathematica script I have produced so far: ...
1
vote
0answers
27 views

Is is possible to plot a multilayer network?

I would like to generate and plot a network of networks, otherwise known as a multilayer network. That is, I have one network of type A nodes with type a links. I have another network of type B nodes ...
8
votes
2answers
114 views

Cycle through MeshStyle directives in ListLinePlot

I would like to specify my own mesh styles for successive data rows within a single ListLinePlot. The Wolfram reference for ...
1
vote
1answer
34 views

Plot function with many conditions

I'm trying to plot the two-variable function below. (1-4/3*d4)/(1-d-d4) where 0<d4<3/4 and ...
0
votes
1answer
51 views

Magnetic field for certain distance

I have a question in theoretical physics. I have a magnetic field created by conductor loop bz = (\[Micro] i )*8/(5 Sqrt[5] R); with distance D = 2b and would ...
1
vote
2answers
53 views

ContourPlot3D not wotking for slicing z axis in the ranges of 10^-13

I am using ContourPlot3D to obtain a slice plane at z = constant. However I find that the plane's position is not moving when the range is of the order of 10^-13. I am using the following code. ...
0
votes
0answers
29 views

Plotting with RegionFunction without explicit function variables

Before updating Mathematica license to version 12, I was able to exclude regions of plots (in Plot, Plot3D, ...
2
votes
1answer
40 views

Discolored ComplexPlot ColorFunction [closed]

I have this code. ...
0
votes
1answer
29 views

ListPlot not plotting

Why does the following output from a Sow/Reap not plot? ...
0
votes
1answer
62 views

Cut a slice at z in 3D plot in Mathematica

I am trying to cut a slice on z axis in a ContourPlot3d but I am unable to see any change in the slice plane. I am using the following code: ...
0
votes
1answer
31 views

Plotting a single point with ListPlot gives strange outcome

I have the following simple coordinate, which I am trying to plot: xy = {0, 0.963738} I am trying: ...
0
votes
0answers
66 views

How to make ternary Plot 3D in a different situation?

Owing to xzczd, I could make ternary plot with the following code: ...
2
votes
2answers
85 views

Data plotting: problem with coloring the plots

I have a data to plot in the form of {x,y,f(x,y)}. Essentially, I have two curves (to be precise, surfaces). I want different colors for each surface. But I'm failing to do so. Here is my datatoplot: ...
4
votes
1answer
35 views

Customizing contour labels in ContourPlot

I have a contour plot. I want to make some changes in the contour labels. I want them to place along each contour in white color. Here is my code ...
1
vote
1answer
45 views

Color scheme problem

I have a problem in the color scheme in a 2D spectra. After a lot of calculations, i can generate a picture like this in the last part using this instructions ...
0
votes
0answers
46 views

Problem with a plot

I have a function which has a dependency on x alone. I wanted to find the roots of this equation, so I tried plotting the equation, but I am getting the error "integer expected at position 2 in Surd[0....
2
votes
1answer
94 views

Mark region of a plot by a rectangle

I want to make a series of plots, each of which will show a zoomed on region of the plot before. So that everything is easy to understand, I want to mark the region which will be seen in the next ...
2
votes
1answer
43 views

Problem with MaTeX PlotLabel

I'm trying to label a plot as follows: ...
4
votes
1answer
64 views

ListDensityPlot3D not working with spherical data

I'm trying to make a density plot of some data on a solid sphere, but I couldn't get ListDensityPlot3D to plot anything. I think there's something I'm missing, as I ...
6
votes
2answers
311 views

Plot Taylor–Couette flow ilustratation plot

I am trying to plot a set up for a classic problem of physics of fluids using Mathematica, see Wikipedia for a reference. The problem is the movement of two concentric cylinders with two radii and ...
4
votes
3answers
115 views

Plotting a rectangle with a heat map

Consider the two table set below t1= {0.44, 0.62, 0.77, 0.87, 0.93, 0.96, 0.98, 1} t2= {0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25} how can I create a plot ...
1
vote
3answers
65 views

Plotting different parts of different lists of data

Suppose I have the following data: x = Range[15]; y1 = N[RandomInteger[100, 15]/100]; y2 = N[RandomInteger[100, 15]/100]; y3 = N[RandomInteger[100, 15]/100]; ...
3
votes
3answers
99 views

Plotting step functions with filling option

Try plotting several step functions and filling the space between the first function and the axis. Unwanted vertical lines appear. Making things worse, these vertical lines are colored in the color of ...
0
votes
0answers
32 views

Plotting a specific row and a subset of this row's columns

I have the following data. Now, I not only wish to plot a specific row of the data, but also a subset of the columns in the chosen row. I can work out the first part, but plotting a specific part of ...
16
votes
2answers
910 views

What problems does SciDraw still solve?

I came across SciDraw (link) that can be used for preparing scientific figures with Mathematica. It seems the latest version was in 2015 (link). What are the main problems that SciDraw still solves? ...
1
vote
1answer
48 views

Sampling Standard Deviation

Here I found a formula for the sample standard deviation: http://mathworld.wolfram.com/StandardDeviationDistribution.html Here is my simulation: ...
3
votes
1answer
41 views

How can I change the gap between a plot's frame and its legends?

How can I change the gap (marked by the double arrow below) between a frame and a plot legend? ...
0
votes
1answer
82 views

Plotting a circle that can move up and down the y-axis

How can I create a circle for the equation $\qquad x^2+(y-a)^2=9$ where $a$ is a parameter. I want to plot this curve with a slider $(a)$ in Cartesian coordinates (better with axes). If possible, ...
6
votes
2answers
650 views

How to plot an unstable attractor?

I'm trying to solve and plot the following in Mathematica: ...
0
votes
1answer
45 views

Plotting the percentage difference between two curves

I would like to plot the percentage difference between the following functions: ...
1
vote
0answers
115 views

Light beams reflecting from parabola

How can we show the paths of three light beams in Mathematica which bounce back after hitting the parabola, in a single plot? Suppose we have the following code ...
1
vote
1answer
65 views

Why isn't the arrow displayed when I use Show? [closed]

I have been trying to combine two plots using Show. Everything looks fine, but the arrow from one of the plots does not show. What am I doing wrong here? ...
2
votes
1answer
111 views

Mathematica just takes infinite time to solve this

Can You help? I don't even care about the exact solution. I will be satisfied by the series expansion of the result around a=0. I tried to solve by series expansion and the same result .. infinite ...
6
votes
2answers
121 views

Filling between two arrays with ListPointPlot3D

I would like to Plot two Arrays and use the function Filling to generate a soil layer: ...
0
votes
0answers
29 views

How does a satellite calculate a vector's intercept/path with Earth? [migrated]

Let's say you have a satellite at altitude h, and you know the position of this satellite above earth in latitude and longitude. You detect a signal with the satellite and want to know where on the ...
5
votes
2answers
76 views

Plot and find intersection points of multiple curves

I tried to plot and find the coordinates of the intersectrions of more than two curves in a the plot. Is there a special way to do this? Here's my code so yu can visualize the whole thing. ...