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

learn more… | top users | synonyms (11)

1
vote
1answer
38 views

Plot is empty (probably) due to poor function definition

I am trying to plot my response $x(t)$ as a function of system parameter $M_0$. Here is my code to regenerate my problem ...
5
votes
1answer
81 views

Plotting a parametrically defined vector field

Let's say that you have a three dimensional surface defined by two parameters. E.g. $$ S(\theta,\phi) = \{\cos{\theta}\sin{\phi},\sin{\theta}\sin{\phi},\cos{\phi}\} $$ Additionally, you have some ...
0
votes
1answer
68 views

Scaling the axis

I want to scale the x-axis in the plot by a factor of $\frac{\sqrt{3}}{2}$, When I change the variable in the command: Plot[f,{Sqrt[3]r/2,0,20}] I am getting an ...
0
votes
1answer
48 views

Epilog not working [closed]

When I run the following code ...
1
vote
2answers
70 views

ListPlot: Increase size of the markers

I have a plot generated using ListPlot. The plot consists of several points, which I connected using option Joined->True. ...
0
votes
2answers
59 views

RegionPlot3D with Resolve: error: “…must be a Boolean function”

I try to plot such a thing: ...
3
votes
1answer
42 views

How to fix an error of Graphics`Graphics` is now obsolete?

I am pretty new to Mathematica. I have version 6 and wish to try a code listed in http://numericaltank.sjtu.edu.cn/2ndBook/APO/APO.txt about Homotopy Analysis Method for American Put Option. However, ...
1
vote
1answer
52 views

Plot mysteriously not working [closed]

I'm running this code to plot an equation but it simply won't work ...
0
votes
1answer
100 views

ParametricPlot3D etc. with parameters satisfying an implicit relation

I need some help on plotting the curve generated by a vector, given its three components as a function of two parameters, e.g. s1 and s2, whose range are known, and they have to satisfy a given ...
3
votes
3answers
94 views

1D ImplictRegion can not be plotted with RegionPlot

I am using Mathematica 10.4 In the documantion page of ImplicitRegion, there is an example ...
1
vote
1answer
79 views

How do I place points along the curves in a plot?

I'm trying to place points on these functions ...
0
votes
1answer
76 views

How to plot a solution set? [duplicate]

I have two functions, let's call them $F1$ and $F2$. Both take the same three arguments: $x1, x2$ and $\epsilon$. With every $\epsilon^* \in [0,1]$, there should be either zero or one unique point ...
3
votes
1answer
52 views

No font on axes in Plot3D graphics

I am running Mathematica on Linux (Raspbian to be exact), and it seems I am missing some Mathematica fonts: Is there a way to fix this?
0
votes
0answers
23 views

Evaluating UnitConvert inside LogPlot

I imported several Physical Quantities with their units and doing single calculations with them works fine and return the right unit, which I can change by UnitConvert[]... For the LogPlot I made a ...
0
votes
1answer
34 views

Differentiate contour color based on different functions rather than the contour values

I'm plotting contours by replacing different set of parameters into a ParametricNDSolve result. For instance I have three different sets of parameters {n,m,Ea,LogZ} that will be replaced into the ...
5
votes
3answers
310 views

How to plot a lemniscate on a surface

How do I plot a lemniscate: ContourPlot[(x^2 + y^2)^2 == 2*(x^2 - y^2), {x, -1.8, 1.8}, {y, -0.63, 0.63}] on the following surface: ...
0
votes
0answers
60 views

Remove zigzags in the line

...
0
votes
2answers
80 views

BarChart with error bars

I need to plot BarChart with the error bars. What's the most straightforward way to do it?#plot range from 8 to 10 {8.5,8.6,8.9,9.5} and error bars of 0.1 and labeling of a,b,c and d. Is there ...
1
vote
1answer
43 views

Mathematica Empty Plot FourierSinSeries function

I'm trying to get a plot of different order Fourier series of the function x-1, why does Mathematica give me an empty plot? ...
1
vote
1answer
64 views

Plotting Invariant Manifolds of the Henon Map

Given the following map: \begin{align} & x_{n+1}=-y_n+2x_n^2 \\ & y_{n+1}=\beta x_n \end{align} for $β \in (0,1)$, $x_n \in \mathbb{R}, y_n \in \mathbb{R}$ (which is a one parameter version ...
23
votes
5answers
4k views

Make a beautiful Moiré effect

How do I make the following Moiré pattern? I tried: ...
0
votes
2answers
58 views

Using result of Solve as plot parameter [closed]

Recently I have faced a problem I would appreciate it, if you helped me I have the following code in Mathematica I want to plot a function let say z * 10 * t where ...
3
votes
2answers
111 views

Extracting unknown ColorFunction from Plot, Plot3D etc

I wonder if there is a way to extract existing ColorFunction and "override" it with a new function that will depend on original one. This question discusses ...
2
votes
3answers
456 views

How to make this 3-D Plot Transparent?

Basically, I want to make this 3-D Plot transparent. I've already tried Opacity[]. I also want to change its color to e.g. light blue. ...
0
votes
2answers
106 views

Solve implicit system of equations

Hello everybody I try to solve this system of functions and try to plot it: x == 0.5(1.+Tanh[0.5*(x*y^2-eps1)/t] y == Tanh[(x^2*y+eps2)/t] with eps1 = 0. and ...
1
vote
1answer
52 views

Syncing the font of PlotFrame and PlotLegends

I have a problem with the font's of my plots. Whenever I try to plot something the fonts of the plot and the legend are different. I was unable to find whether there is a possibility to change the ...
3
votes
1answer
168 views

How to set the Arrowheads style in a figure with broken vertical axes

I am trying to combine three separated curves into a same figure. The codes are inspired by another post and answers here. Codes: ...
-2
votes
1answer
71 views

Plotting 3-dimensional graphs [duplicate]

I just started Calculus 3 and I thought it would be useful to see images of functions to get used to the transition of visualizing in 3-dimensions. I was wondering how one would go about plotting a ...
0
votes
1answer
133 views

“Save Graphic As…” suddenly doesn't work

I suddenly can't create jpegs or pngs using the menu. I have not changed versions or operating systems lately, but the method I've used all along suddenly doesn't work. When I create a plot, ...
2
votes
1answer
77 views

Help on order of evaluation within plot function

it is my first time asking a question here so please let me know if there's anything I should be doing that I'm unaware of. I'm sure the answer to my question already exists on the site but I'm having ...
0
votes
1answer
51 views

Simulating a Boolean model in a uniform square

I am looking to simulate a Boolean model with specified Poisson point process. ...
0
votes
1answer
32 views

NDSolve point animation not working [closed]

The below code plots the path of a ball bouncing but loses 90% of its velocity each time it bounces. (adapted from https://reference.wolfram.com/language/ref/WhenEvent.html). ...
-1
votes
2answers
81 views

Scaling a the plot of a specific function in a plot [closed]

the following plot is nearly perfect but there at least two question that I would ask? 1) is there a way to rescale the P1 function in such a way that the maximum appears in the graph. 2) I have not ...
3
votes
3answers
176 views

Cantor Pairing Function

I'm inspecting the Cantor pairing function, that we can find on this link here. But the strange thing is that Mathematica is outputting a wrong result to me. The code below shows the strange ...
43
votes
2answers
3k views

How to make this beautiful animation

How to make an animation of following gif in Mathematica? Edit: The animation shown above was created by Charlie Deck in processing. And how to make 3D analog? I tried first few steps ...
1
vote
2answers
81 views

How to reverse values of x along x-axis [duplicate]

I have the following function to plot F[x_] := 0.00150614 Sqrt[1/x] I know Mathematica plots in a format ...
0
votes
0answers
23 views

Why are the graphs differently colored? [duplicate]

Why is there a difference in coloring the graphs? Plot[{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, {x, 0, 2 \[Pi]}] Plot[Range[10], {x, 0, 2 \[Pi]}]
0
votes
2answers
65 views

Mathematica flip the axes ticks (negative values) to other side

I have a plot as shown, I want to change the axes ticks of the negative values as shown below, I went through this post and with this answer, I am able to do only for Y-axis. Can someone please ...
0
votes
1answer
52 views

Parametric plot

I want to plot x = u Cos[Phi] + v Cos[(u Phi)/v] and y = u Sin[Phi] - v Sin[(u Phi)/v]in a parametric graph for ...
3
votes
0answers
45 views

Is there a 3D version of ListStreamPlot[] (analogous to ListVectorPlot3D[])

Is there is straightforward way to visualize streamlines given a series of discrete samples of a 3D vector field? There is a generalization of ListVectorPlot --> ...
0
votes
1answer
95 views

Plotting graphical analysis of chaotic behavior

I am trying to plot some results of chaotic behavior in a system based on a paper for one of my classes. I am a physics undergrad. I found some sample code online springy.nb which I have been trying ...
-2
votes
1answer
40 views

Plotting output in two columns beside each other from a for loop [closed]

How can I have the output plots in two columns instead of having the plots in a sequence? Like the following: []
0
votes
0answers
39 views

Using previous outputs and equations for 3d plots

I am extremely new to Mathematica, and am trying to obtain some plots for my research work. I need to find the roots of a polynomial, and using the roots individually, I need to obtain another ...
1
vote
1answer
334 views

Plot a alphabetic character in 2D

I was wondering how I can graphically plot an alphabetic character, for example D, in 2 dimension, using mathematica? I was using ListPlot with specific x and y values but it's not looking anything ...
0
votes
0answers
37 views

Handwritten style in Mathematica [duplicate]

Following image is from the Wolfram alpha How can I do this in Mathematica?
1
vote
3answers
62 views

Plot: Option MeshStyle: color rotation matching PlotStyle color rotation

This is a follow up question to plot: option plotstyle: start with second color in standard rotation I want the mesh points to have the same color as in PlotStyle ...
1
vote
2answers
60 views

How can I use the option PlotStyle to start plotting with second color in standard color rotation?

I would like to plot several functions in one plot and start the standard color rotation (ColorData[97, "ColorList"] // InputForm) from the second color and go on ...
1
vote
0answers
46 views

Why does ContourPlot refuse to draw all 4 quadrants whenever fractional powers are in the implicit function? [closed]

I would like to plot the astroid which is given by: $x^{2/3} + y^{2/3} = 1$ When I use ...
0
votes
0answers
36 views

Graphing/Plotting multivariate profit function with inequalities

I have the following profit function which I would like to 3Dplot in Mathemathica: Profit = (8c^2-16c*s-10c-4s-3)/(32s+16) , where ...
1
vote
1answer
121 views

Plotting open balls for the given metric spaces [closed]

We're given a metric space (R,d) defined as follows: $$d(x,y) = |x-y|$$ We need to draw a open ball for this metric space with centre and radius of our choice. Open ball definition: For a fixed $x$ ...