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

Multiple numeric integration with function in integration limits

My problem is $\int_{0}^\pi\int_{0}^{1}\int_{0}^{\sqrt{2f(x)}} q^{2}\sin(\theta) F(q,\theta,p)\eta(f(x)-q^2/2)dqd\theta dx$, I'm trying to plot this over $p$. Function $F$ is a monster, let us ...
satoru's user avatar
  • 133
0 votes
0 answers
83 views

How to adjust the cell size to the frame of a plot?

I have this Mathematica code to plot two histograms and their PDF fits, ...
user1993416's user avatar
0 votes
0 answers
57 views

Controlling the aspect ratio when DataRange values are different scales

The Task Create a ListContourPlot with custom data range and frame labels. Attempt at a Solution First generate some data: ...
Eric Kightley's user avatar
0 votes
0 answers
487 views

Evaluate@Table in a Plot can be accessed in another plot?

r1 = Plot[Evaluate@Table[xl[j, k, 0], {k, .01, 1, .1}], {j, 3/32, 2}, PlotRange -> {{3/32, 2}, {.4, 4}}, AxesOrigin -> {3/32, .4}] plots for me the ...
simon's user avatar
  • 309
0 votes
0 answers
283 views

Non-proper clipping at PlotRange edge

cross posted on community.wolfram.com I've noticed that in some situations the clipping is not done properly, despite the explicit setting PlotRangeClipping->True: So I plot some complex function: <...
illuminato's user avatar
0 votes
0 answers
109 views

Contour plots for functions with flat regions

I'm playing around with some optimization functions and contour plot seems to be not very informative (full notebook here ). Any suggestions how to make them more visually informative? ...
Yaroslav Bulatov's user avatar
0 votes
0 answers
1k views

How do I make 4D plot in Mathematica from Excel data with two different graphical representation?

I have some experimental data in excel format containing 50 rows and 4 columns (x, y, z, A). I want to first import the excel file into mathematica and then make TWO different plots simultaneously and ...
Dean's user avatar
  • 655
0 votes
0 answers
29 views

Why these functions have the same color? [duplicate]

I have this code f[x_, n_] := Sum[ComplexExpand@Abs[Sin[x + k]], {k, 0, n}] Plot[Table[f[x, n], {n, 0, 5}], {x, -Pi, Pi}] but the graph is all of the same color ...
Masacroso's user avatar
  • 1,107
0 votes
1 answer
180 views

Plotting detail in 3D ListDensityPlots

I'm plotting densities of simulated eruptions. I have an issue that the high density at the top and bottom of the plot blocks out any detail in the middle of the plot (where the interesting stuff is ...
Tomi's user avatar
  • 4,262
0 votes
0 answers
38 views

Weird behavior to plot a set of functions [duplicate]

I have this code, totally functional ...
Masacroso's user avatar
  • 1,107
0 votes
0 answers
113 views

Plotting 3D graphic for a differential system with Manipulate

I try to adapt the following code with three differential equations to a system with four differential equations. My aim is to see a bifurcation in this differential system by looking at three ...
optimal control's user avatar
0 votes
1 answer
182 views

How do I generate legends for Plot[.] objects in Mathematica 8 [duplicate]

I have an old version of Mathematica 8 and can only find information for #>9 I need to label multiple curves in a Plot[.] function with legends to the side of the graph. Your answer needs to be as ...
hypnotoad's user avatar
0 votes
2 answers
128 views

How can I improve the code for contour plot of the real part of $f(z)=\frac{1}{z}$? [closed]

I try to plot level curves of the real part of the complex function $f(z)=\frac{1}{z}$ with ...
user avatar
0 votes
1 answer
68 views

Plotting 3x3 until some points left out

I am to plot a bunch of numbers in a 3 by 3 manner. However, some has 35 data line so when my code goes up to loop number 11 -> i.e. number of data plotted is 33, there is 2 remaining. I wanted it ...
Ben's user avatar
  • 3
0 votes
0 answers
1k views

Adding a colorbar legend to a matrix plot [duplicate]

Looking for the option to add a colorbar legend to the right of a matrix plot: ...
fishbacp's user avatar
  • 183
0 votes
1 answer
159 views

How do I create this graph to show a whole sphere spiral and not just half? [duplicate]

This is what I am inputting into Mathematica and I can only see the top half of the spherical spiral ...
ACC's user avatar
  • 11
0 votes
0 answers
118 views

"Density contour plot"—plot solution surface using color

I would like to plot the solution of an equation in three variables via a color map, thus combining the functions of ContourPlot3D and DensityPlot. That is, I have a plot of the form ...
mikefallopian's user avatar
0 votes
0 answers
344 views

Export transparent PNG does not work in v11

Below is the simple command I used: Export["TransparentCircle.png", Graphics[Circle[]], Background -> None] The png is not transparent in Mathematica v11, but ...
Leonx's user avatar
  • 413
0 votes
1 answer
200 views

FrameLabel that combines some text and some sub and superscripts [duplicate]

I need to add a FrameLabel that is "Mass lost, M_l [10^-3 kg]". I would like to have "l" as a subscript to M and "-3" as a superscript to 10.
Paul C's user avatar
  • 1
0 votes
0 answers
194 views

Highlight gaps in the Carotid-Kundalini Fractal

Gaps in Fractal Land occur whenever $$x\cos^{-1}x=2\pi\frac{p}{q}$$ for $p$ and $q$ realatively prime integers.At such points $x$, the functions assume the $⌈(q+1)/2⌉$ values $\cos(2\pi/q)$ for $...
vito's user avatar
  • 8,868
0 votes
0 answers
84 views

$\omega t$ scaling in plot

I want to plot the response of a pure inductor circuit, but the scale I want to use is $\omega t \;(100\pi t)$, but the default scaling is linear. Here is my code. ...
Vedanshu's user avatar
  • 103
0 votes
0 answers
150 views

Graphing the tangent to a curve in real time with Manipulate [duplicate]

The function $4-x^{2}-2y^{2}$ Set $y = 1$ Then <1,1,1> And its derivative at $y = 1$ is $$f'(x,1) = -2x$$ The following plot the curve at $y = 1$ intersecting the surface, and the derivative ...
DSL's user avatar
  • 247
0 votes
0 answers
50 views

How to plot points into a Graph [duplicate]

Let $f(x,y) = \frac{x^2}{2}+\frac{y^2}{2}$ and $M:=\{(x,y)\in\mathbb R^2 | \frac{x^2}{2}+y^2\leq1\}$ I'd like to plot $f, M$ and the points $p_1=(0,0,1), \ p_2=(\sqrt{2},0,1), \ p_3=(-\sqrt{2},0,1)$ ...
xotix's user avatar
  • 111
0 votes
1 answer
133 views

How can we extract the points of a level-set from a 2D Interpolating function? [duplicate]

Let us assume that we have a 2D Interpolating function u[x,y]. We can plot its contours by ...
SpaceChild's user avatar
0 votes
0 answers
372 views

Custom color function in `ListContourPlot`?

I have a resource-consuming function of a complex variable, and I would like to make a contour plot of it with contours level curves of the modulus and the color coding the phase. If I just use ...
მამუკა ჯიბლაძე's user avatar
0 votes
0 answers
45 views

Plotting roots of a predefined complex polynomial [duplicate]

I have the following : ...
AveryJessup's user avatar
0 votes
0 answers
58 views

Plotting multiple functions in one plot using iterative variable [duplicate]

This is a followup to this question. The following code Plot[{Sin[x], Sin[2 x], Sin[3 x]}, {x, 0, 2 Pi}] results in the following plot: The following code: <...
user32882's user avatar
  • 227
0 votes
0 answers
174 views

Implement 2D sprites as plot point markers in ListPointPlot3D

With dimension reduction, It's possible to visualize image data in 2D by using the PlotMarkers option: ...
Peaser's user avatar
  • 133
0 votes
1 answer
197 views

Plotting relationship between more than two variables

Suppose I have a function f[a,b,c] and would like to plot the values of f[a,b,c] for a range of $\frac{a}{b}$ and a range of $c$....
John M.'s user avatar
  • 115
0 votes
0 answers
62 views

Rotate polar region with occlusion [duplicate]

I am new to Mathematica, so partial answers and strategic advice are appreciated. I have produced the following image: ...
Matthew Piziak's user avatar
0 votes
0 answers
155 views

How to plot 3D graphic from sets of inequalities with one discrete axis?

I have 4 sets of inequalities defining a closed region in 2D. ...
freezer's user avatar
  • 123
0 votes
1 answer
117 views

Trying to find intersection of 3 functions graphically [duplicate]

I'm trying to plot the following 3 functions: $f_1 = 3x-cos(yz)-0.5= 0$ $f_2 = x^{2}-81(y+0.1)^{2}+sin(z)+1.06 = 0$ $f_3 = e^{-xy}+20z+ \frac{10\pi-3}{3} = 0$ ...
pkid58's user avatar
  • 33
0 votes
1 answer
112 views

How to use Manipulate to mimic a oscillation along the Y-axis

I'm trying to figure out how to make a ball oscillate straight up and down using an equation such as Cos[Pi*x*3]. I want to use the Manipulate feature to act as the x value, but I don't want the x ...
user2379694's user avatar
0 votes
0 answers
250 views

Plotting Bessel function with two variables and with limits

I am working on a physics problem where I am trying to plot a fraction consisting of a Bessel function and its derivative. They are a function of two variables m ...
Yuki's user avatar
  • 43
0 votes
0 answers
335 views

Plot boolean values in DateListPlot

I have a TimeSeries object in which the data is boolean (True,False) values. When I plot it using DateListPlot the result is blank. ...
Tyler Durden's user avatar
  • 4,048
0 votes
0 answers
55 views

Is there a known problem with ContourPlot3D on MacOS Sierra?

I'm running macOS Sierra. I can execute the ContourPlot3D command successfully. However, whenever I use the mouse to manipulate the output – like rotating the graphic - my computer freezes and I ...
user avatar
0 votes
0 answers
89 views

Problems with sampling

Let $t\ge 0$ and let $f_{s}(t)$ be the sampled version of $f(t)$. If $$f(t)=\begin{cases}\int_{0}^{t}\exp\left(-\frac{1}{1-s^{2}}\right)\,ds,&|s|<1, \\ 0,&\text{otherwise}.\end{cases}$$ I ...
Jason Born's user avatar
0 votes
0 answers
28 views

Increasing length of an arrow in 3D plot [duplicate]

Initially, I have: a = Plot3D[x^2, {x, 0, 2}, {y, 0, 2}, PlotRange -> {{0, 2}, {0, 2}, {0, 5}}]; Show[a, Graphics3D[Arrow[{{0, 1, 0}, {0, 1, 4}}]]] To ...
ssa's user avatar
  • 169
0 votes
0 answers
105 views

Plots shrink after closing and opening the notebook

I find that every time after I save a notebook and then close and reopen it, the plots and figures will shrink in size compared to the original ones I saved. Is there any way to fix the sizes? Thanks. ...
James LT's user avatar
  • 303
0 votes
0 answers
43 views

Warnings when plotting in ContourPlot a function defined as the solution of FindRoot

I am trying to plot implicitly a transcendental equation where one of the parameters (lambda) is given by another transcendental equation which, in this case, I can solve. Therefore, I defined lambda ...
Ferran Brosa Planella's user avatar
0 votes
0 answers
76 views

How can I use Abs while plotting? [duplicate]

Equations: ...
Ani's user avatar
  • 95
0 votes
1 answer
101 views

Generating Covariance plot

...
user avatar
0 votes
1 answer
172 views

Plotting: substitute before evaluation

When plotting, the Mathematica seems to substitute the value of the variable only after evaluating the plotted function. To use a simple example where I'm trying to examine how changing certain ...
goweon's user avatar
  • 163
0 votes
0 answers
86 views

ParametricRegion3D is not working well

I am trying to define a region along a space curve where I will display the vector field. My space curve is obtained by numerical integration and defined by Interpolating functions. It is hard to post ...
I. Konuk's user avatar
0 votes
0 answers
78 views

How Mathematica chooses PlotRange value?

I mean, how Mathematica decides where to clip plot for functions Tan[x], 1/x and likes? Are there some conditions on derivative behaviour, or just absolute value of y-coordinate? I compared this with ...
Alx's user avatar
  • 3,612
0 votes
0 answers
56 views

Differential Eqns for Rocket Projectile - Help needed! [duplicate]

I have to model a rocket projectile and, although I understand the question, I can't get the code to work in Mathematica. Here is the question: A rocket with a unit mass is fired from the ground ...
Scott Davidson's user avatar
0 votes
2 answers
165 views

Combining multiple ListPlot with different abscissas

I have a complicated function and my computer crashes when I try to plot it using ListPlot from 0 to 30. So what I want to do is instead of plotting the function from 0 to 30, I cut it into segments,...
anonymous's user avatar
  • 433
0 votes
0 answers
406 views

Plot symbolically in mathematica

I want to know is it possible to plot symbolically ? for example I need to plot this function symbolically(where a>0 and c>b and and b>0) ...
Ehsan Zakeri's user avatar
0 votes
1 answer
161 views

Parametric graph [closed]

I am new to Mathematica. I need to graph a parametric equation. The problem says to graph the following parametrically: x=Cos[t]^2 y=Sin[t]^2 z=t I tried: <...
Olivia's user avatar
  • 3
0 votes
0 answers
182 views

Plotting and manipulate with min/max inside and free parameters

I shall reformulate my question with a better attempt. My goal is to plot a (alleged) function ee[..] which depends on another function ...
Three Diag's user avatar

1
301 302
303
304 305
313