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
3 votes
1 answer
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 ...
MarcoB's user avatar
  • 65.3k
2 votes
3 answers
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[1] -> i, C[2] -> j}, {i, -1, 1, 1}, {j, -1, 1, 1}] Plot[solTable, {x, -2, 4}] ...
Athanasios Paraskevopoulos's user avatar
2 votes
2 answers
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 ...
juv95's user avatar
  • 175
3 votes
3 answers
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 ...
Agaph's user avatar
  • 101
1 vote
3 answers
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: ...
ppp's user avatar
  • 969
0 votes
0 answers
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 ...
Lea Rebanks's user avatar
3 votes
1 answer
166 views

Plot multiple lines along with converging dotted line

I have a dataset as follows. ...
ppp's user avatar
  • 969
2 votes
1 answer
175 views

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

Consider the following region: ...
John Taylor's user avatar
  • 4,984
2 votes
1 answer
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. ...
valar morghulis's user avatar
2 votes
2 answers
105 views

Avoid context mark in Plot labels in package

Minimal example: ...
LittleCat1's user avatar
3 votes
2 answers
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: ...
Shachaf Rotem's user avatar
9 votes
3 answers
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 ...
Nasser's user avatar
  • 135k
0 votes
0 answers
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 ...
PARTHA PRATIM NATH's user avatar
1 vote
2 answers
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 ...
lotus2019's user avatar
  • 1,921
1 vote
1 answer
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 ...
Tanmayee Patra's user avatar
1 vote
1 answer
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/ ...
csn899's user avatar
  • 2,695
0 votes
0 answers
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....
Adam's user avatar
  • 11
3 votes
3 answers
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. ...
AxelF's user avatar
  • 977
2 votes
1 answer
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: ...
user avatar
3 votes
2 answers
93 views

Plots are "jagged" for a simple function

I have a weird problem with DensityPlot, ContourPlot, and Plot3D. The function I want to ...
Taiki Bessho's user avatar
1 vote
1 answer
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 ...
csn899's user avatar
  • 2,695
0 votes
1 answer
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: ...
ppp's user avatar
  • 969
2 votes
3 answers
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 ...
Yaroslav Bulatov's user avatar
2 votes
1 answer
101 views

Epilog in ListPlot is not visible

I have the following data: ...
user avatar
1 vote
3 answers
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 ...
S L's user avatar
  • 721
1 vote
0 answers
36 views

Coloring a ParametricPlot3D with a custom color function [closed]

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)...
shouldbedoingmythesis's user avatar
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 ...
melika's user avatar
  • 1
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 ...
Tanmayee Patra's user avatar
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 ...
Jack Adams's user avatar
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: ...
mathematica_guy's user avatar
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 ...
David G. Stork's user avatar
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' ...
Richard Burke-Ward's user avatar
4 votes
5 answers
292 views

Coloring data points for different ranges

...
user84456's user avatar
  • 1,502
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 "...
Jack Adams's user avatar
7 votes
3 answers
142 views

ContourPlot3D gives empty PlotLegends with Sqrt

I met a problem with ContourPlot3D[]. If I do this plot, ...
CherryBBQ's user avatar
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. ...
Tanmayee Patra's user avatar
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 ...
Kheeyal's user avatar
  • 1,057
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 ...
xiaohuamao's user avatar
  • 4,688
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 ...
Peter R's user avatar
  • 21
-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, \\ \...
Soliton-104's user avatar
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 ...
GaloisFan's user avatar
  • 395
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 ...
Bibhash Das's user avatar
2 votes
2 answers
114 views

Adding text and arrow to the result of a plot

I have: ...
user avatar
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 ...
rani's user avatar
  • 111
1 vote
0 answers
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 ...
Bruce Bartlett's user avatar
1 vote
1 answer
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 ...
user avatar
2 votes
1 answer
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: ...
yode's user avatar
  • 26.1k
2 votes
2 answers
138 views

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

I have the following data: ...
user avatar
4 votes
2 answers
139 views

Line thickness out of control in 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 and in the PDF snapshot. ...
xiaohuamao's user avatar
  • 4,688
4 votes
4 answers
221 views

How to visualize point movements across multiple plots using Manipulate or something similar?

I have the following three plots: ...
internet's user avatar
  • 431

1
3 4
5
6 7
310