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

learn more… | top users | synonyms (10)

-1
votes
1answer
80 views

Image of the unit circle under a complex rational function

Let $$f(z)=\dfrac{z(z-a)}{(z-b)(z-c)(z-d)}$$ be a complex rational function with distinct non zero complex numbers $a,b,c$ and $d.$ I need to plot the image of the unit circle $S=\{z\in\mathbb{C} : ...
0
votes
1answer
47 views
0
votes
1answer
75 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 ...
0
votes
1answer
64 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
2answers
105 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 ...
5
votes
3answers
307 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
1answer
64 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
171 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 ...
23
votes
5answers
4k views

Make a beautiful Moiré effect

How do I make the following Moiré pattern? I tried: ...
1
vote
2answers
65 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. ...
1
vote
1answer
347 views

How to export figures with normal spacing in texts?

My OS is Ubuntu 14.04, and I use MMA 10. I export a figure ploted in MMA to a pdf file and then import the pdf in Latex, here is the sreenshot As you can see, the spacing in the text is odd. But ...
3
votes
1answer
36 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, ...
3
votes
1answer
45 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?
1
vote
1answer
49 views

Plot mysteriously not working [closed]

I'm running this code to plot an equation but it simply won't work ...
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 ...
8
votes
3answers
443 views

Changing the atom color for plotting xyz-files

Mathematica takes the standard color code for atoms when plotting an *.xyz file, but I want to customize the color for the specific atoms. I really become desperate as I did not get it so far. ...
0
votes
0answers
20 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
33 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 ...
14
votes
2answers
209 views

Possible bug in ListLinePlot

Bug introduced in V8 or earlier and fixed in 10.4 Take a look at the first two points on the chart: ListLinePlot[{15, 30, 32, 33, 34, 35}, Mesh -> All] I ...
21
votes
1answer
190 views

Wrong labelling of contours with ListContourPlot

Bug introduced in 8 or earlier and persisting through 10.4.1 Consider this example: ...
9
votes
1answer
154 views

Problem with PlotLabels

Bug introduced in 10.4 and persists through 10.4.1 Version 10.4 introduced the PlotLabels option in ListPlot and similar ...
0
votes
2answers
77 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
59 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 ...
3
votes
2answers
106 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 ...
1
vote
1answer
27 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? ...
3
votes
1answer
160 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: ...
0
votes
2answers
43 views

Using result of Solve as plot parameter

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 ...
2
votes
3answers
445 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. ...
1
vote
1answer
48 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 ...
0
votes
1answer
130 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, ...
1
vote
1answer
65 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 ...
-2
votes
1answer
64 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 ...
39
votes
7answers
3k views

How to plot contours on the faces of a cube

I'm trying to plot contours of a function f[x,y,z] on the faces of a cube as the example below, which represents the domain of this function. Is there a way to do ...
-1
votes
2answers
80 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 ...
0
votes
1answer
63 views
41
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 ...
2
votes
1answer
112 views

How could I make visible the convex hull of 3 point inside this region?

Small version of the question How can I control the color and the Thickness of this graph?? ...
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. ...
21
votes
4answers
4k views

Making Axes logarithmic in 3d plots

I've been trying to get loglog plots in 3D, but to no avail. My initial approach was to take the logarithm inside the plot i.e ...
0
votes
1answer
27 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). ...
0
votes
1answer
91 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 ...
0
votes
1answer
75 views

Conditional function plot in Manipulate

I'm looking into the stability of solution of a set of chemical rate equations. There is a set of rate constants {$k_i$} I which to manipulate, and I want to find the stable solutions where ...
1
vote
2answers
74 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 ...
4
votes
1answer
145 views

Why can't the Bernstein Bears work normally?

Bug introduced in 7.0 and fixed in 9.0 I want to use the built-in BernsteinBasis[] to learn about Bezier curves. I tried the following code: ...
4
votes
2answers
713 views

FrameTicks and GridLines in DateListPlot

I would like to know what is the best way to configure one GridLine for the hour in LightGray and another for the days in ...
12
votes
1answer
1k views

Thickness of logarithmic tick marks

Bug introduced in 8 or earlier and persisting through 10.4 or later I'm trying to plot a graph wit a logarithmic y-axis. Since I'm exporting the graph to pdf and later printing it, I want to ...
13
votes
2answers
409 views

PlotRangeClipping not working correctly with small ImageSize and PDF-export

Bug introduced in 8 or earlier and persists through 10.4 or later Although Mathematica has some nice plotting capabilities, there are some things which are annoying me: I like to export a Graphics ...
62
votes
4answers
5k views

Plot draws list of curves in same color when not using Evaluate

This example comes from the Mathematica documentation for Plot under Basic Examples. Can someone please explain why these are each plotted as a different color in ...
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]}]