# Questions tagged [plotting]

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

15,464 questions
Filter by
Sorted by
Tagged with
83 views

### Tick control when using PlotLayout

I finally installed 13.3 coming from 12.3 and I was giving some new features a test. I was excited by the new PlotLayout feature of ...
109 views

### How to plot a table of table?

soln = DSolve[y''[x] + y'[x] + y[x] == 0, y[x], x] solTable = Table[soln /. {C -> i, C -> j}, {i, -1, 1, 1}, {j, -1, 1, 1}] Plot[solTable, {x, -2, 4}] ...
231 views

### How can I stack multiple ternary plots on top of each other in 3D?

I have data to make multiple ternary plots, each having 3 points on it. Is it possible to stack those ternary plots in 3D on top of each other? Then, is it possible to connect the points of the same ...
162 views

### Parametric Plot in different graphs

i would like to plot the function of a parametric differential system below ideal in separate graphs. My code is ...
1 vote
281 views

### Solving implicit function numerically and plotting the solution against a parameter

This post is a clarified version of the question in this one. Consider an implicit function, $F(e,w,a,b,i,n)=0$, whose code is: ...
39 views

### How can I suppress the multiple redrawing of Manipulate charts every time, on every evaluation after editing code....?

How can I suppress the multiple redrawing of Manipulate charts every time, on every evaluation after editing code.... After coding a few lines, and evaluating I end up having many many Manipulate ...
166 views

### Plot multiple lines along with converging dotted line

I have a dataset as follows. ...
175 views

### How to get rid of the boundary at the regions merging in the plot?

Consider the following region: ...
102 views

### How can we control size of the arrowhead in Graphics3D?

I want to change the size of the head in a specific way such that the distance from the top to the base of the head becomes smaller. ...
105 views

### Avoid context mark in Plot labels in package

Minimal example: ...
141 views

### VectorDisplacementPlot is stuck in certain geometries

I want to plot some deformation fields on some geometries with two holes. I do it using VectorDisplacementPlot. In some of the cases the distance between the holes is very small (for example: ...
366 views

### Why do error messages show up when mouse hovers over ListLinePlot in V 13.3?

New bug in V 13.3 Wolfram support: A support case was created with the ID [CASE:5057959] Why in V 13.3 on windows 10, when moving the mouse on top of a plot, it says there is an error? In V 13.2.1 ...
62 views

### Plotting the embedding diagram for a wormhole

I want to plot an embedding diagram for the metric ds2 = Exp[2/r] d[r]^2 - Exp[-2/r] d[t]^2 + Exp[2/r] r^2 d[θ]^2 + Exp[2/r] r^2 (Sin[θ])^2 d[φ]^2 How can I ...
1 vote
103 views

### What is the difference in plots features between analytic (holomorphic) and non-analytic functions?

We know FunctionAnalytic can check whether a complex function is analytic. But I want to use ComplexPlot3D or ...
1 vote
50 views

### How to plot phase space diagram of a response/slave system of a chaotic attractor?

In this attached image, we can see that the Lorenz chaotic attractor can show Master-Slave (Drive-Response)configuration where the Master/Drive system is driven by either y cordinate or x-coorinate.In ...
1 vote
83 views

### How can the abscissa of the intersection point of the trigonometric functions and the x-axis be expressed by the precise value of $\pi$?

https://writings.stephenwolfram.com/2023/06/llm-tech-and-a-lot-more-version-13-3-of-wolfram-language-and-mathematica/ ...
52 views

### Plot Color Discontinuous with Legend

Im working on a project that simulates the temperature distribution within a material. Right now I have multiple plots using the ColorFunction -> "TemperatureMap" and a legend on the side....
220 views

### Using different Epilog for multiple plots with PlotLayout

I would like to generate several plots like in my example, but use a different Epilog for each plot. ...
105 views

### Ticks in scientific form with minor ticks to be shown in between

I have: dataColinnn0 = {7*10^5, 3*10^5, 10*10^5, 10*10^5}; dataColinnn24 = {2*10^5, 0.5*10^5, 3*10^5, 1*10^5}; With the plot: ... 93 views

### Plots are "jagged" for a simple function

I have a weird problem with DensityPlot, ContourPlot, and Plot3D. The function I want to ...
1 vote
79 views

### How to draw a corresponding tree diagram based on the arrangement and combination problem?

A certain school offers 4 elective courses in physical education (A, B, C, D) and 4 elective courses in art (a, b, c, d). Students need to take 2 or 3 courses from these 8 courses, and at least 1 ...
92 views

### Solve an implicit function numerically and plot the solution against a parameter

Consider an implicit function, $F(e,w,a,b,i,n)=0$, whose code is: ...
207 views

### How to avoid underflow in Plot?

Any tips how to make the following plot show something? Replacing it with Plot appears to work, but I need log-log scale ...
101 views

I have the following data: ... 1 vote
271 views

### Drawing contours of polar integral function

I have a following function g[s_, p_] := Integrate[ 1/2*r*Log[r^2 + s^2 - 2*r*s*Cos[t - p]], {r, 0, 1/( 2 + Cos[t])}, {t, 0, 2*Pi}] I would like to draw the ...
1 vote
36 views

I am plotting a trajectory $\left(x(t),y(t),z(t)\right)$ as a ParametricPlot3D and want to assign the value of another function $C(x,y,z)$ as the color this parametric plot at point $\left(x,y,z\right)... 0 votes 1 answer 42 views ### Poincare section of Explicit time dependent coupled differential equations I have a coupled system of equations which depend on time explicitly. for example: x'[t] = x[t]* Cos[bt] - y[t]^2/(1-y[t])^2 , y'[t] = Cos[at] * y[t] * Cos[x[t]] I want to plot the phase portrait or ... 0 votes 1 answer 77 views ### How to plot a surface having equation$-(x^2y)/2 + 16.7 yz =0 $for a set of (x,y,z) values? [closed] I have a surface$-(x^2y)/2 + 16.7 yz =0 $and I want to plot this surface for a given set of (x,y,z) values.Let us say that set of (x,y,z) values are ... 7 votes 1 answer 173 views ### VectorPlot "Part 1 of {} does not exist" error Bug introduced in 7.0, persisting through 13.2. I am looking to plot the Magnetic Vector potential, A, as a function of position along the edge of a density plot. The density plot is fine, and I ... 0 votes 0 answers 87 views ### Distance between Frame and FrameLabel This question is almost as old as plotting in mathematica goes. How can one change the spacing between the numbers on the frame of a plot and the framelabel? Example: ... 8 votes 2 answers 274 views ### Demonstration of Fourier Series: Selectable Target Function, Selectable Number of Coefficients, Scrolling Graph There are a number of nice Wolfram Demonstrations on Fourier Series, but none quite what I seek. The closest I've found is this one, but it has several unnecessary features (e.g., colors) and missing ... 1 vote 1 answer 48 views ### Filling a specified area of a Plot I have a very simple Plot: Plot[{n, 5*n^(1/2), 4.27517*n^0.49047}, {n, 1, 50}] I want to fill the areas where the two' ... 4 votes 5 answers 292 views ### Coloring data points for different ranges ... 2 votes 1 answer 85 views ### Spurious output from SliceDensityPlot3D with CenterCutBox Bug introduced in 12.2 or earlier, persisting through 13.2. I am modeling a simple system: the potential from a sphere of charge Q as a function of position. SliceDensityPlot3D with the "... 7 votes 3 answers 142 views ### ContourPlot3D gives empty PlotLegends with Sqrt I met a problem with ContourPlot3D[]. If I do this plot, ... 0 votes 0 answers 39 views ### Regarding 3D plot of a surface I can plot a surface using ContourPlot3D for some range of x,y,z like shown below. ... 5 votes 3 answers 419 views ### InterpolationOrder creates a sharp valley even if I increase the number of points. How to have a smooth curve? I have a set of data as the following ... 1 vote 0 answers 111 views ### Incorrect line thickness in the exported PDF The code below plots and exports to a PDF file. As one can see, there is a clear difference between the plotted line thickness in the notebook (left) and in the PDF snapshot (right). This is a sister ... 0 votes 0 answers 61 views ### In ListLinePlot3D, plotting a complicated curvy line, can I add arrows at regular intervals? I'm plotting a curvy line with LitLinePlot3D, and it's difficult to visually trace the line. I would like to add arrows at regular intervals along the line to better understand the plot. How could ... -1 votes 1 answer 59 views ### Graph function step by step and paint I am trying to graph the following function for$r_0 = 2.1 m\begin{align*} \alpha(r_0) = \begin{cases} \pi - \arcsin (3 sqrt{3} \sqrt{1 - 2 m/r_0}/r_0), & \text{for } 2m < r_0 \leq 3m, \\ \... 1 vote 1 answer 68 views ### Export to PDF changing ticks color I'm exporting several images like Export["path.pdf", fig, "PDF"] The output, however, have the Automatic gray coloured tick labels changed to ... 6 votes 2 answers 897 views ### How do I get such colorful plots with bar legends colored like this? Each line in this plot is for the same equation with different values of a parameter\beta$; the range of$\beta$is shown in the lines plotted and the bar legend. I want to know how to create such ... 2 votes 2 answers 114 views ### Adding text and arrow to the result of a plot I have: ... 1 vote 1 answer 92 views ### Trace animation of spherical and$\pi\$ atomic orbital

I want to get trace animation, which forms 3D object at last. Though I saw ring shape structural animation in the website: https://community.wolfram.com/groups/-/m/t/1991109 also Creating a movie of ...
1 vote
40 views

### Getting hue correct in a complex argument plot [duplicate]

I'm trying to generate a picture of the phase of a complex function defined on a rectangle. I'm using Hue (which is cyclic) and DensityPlot, but it's leaving out certain "corners" of the ...
1 vote
37 views

### Ordering of number and word in PlotLegends [closed]

I have: datapp = {1, 2, 9} ListLinePlot[datapp, PlotLegends -> Placed[Superscript[10, 2] "Bacteria", Right]] Regardless of the ordering in the ... 122 views

### Is there an elegant way for these arrows to automatically adjust to the color of the line segment they are in?

I added some arrows on a line: ...
138 views

### Starting the plot at the origin, showing missing ticks, and pushing arrow head a little further

I have the following data: ... 