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
vote
2answers
66 views

How can I plot two concentric circles with a polygon inscribed in one and circumscribed about the other

So I am new to Mathematica still learning basic codes.. However I need help to become quicker in my research. Can anyone help me with the simplicit code to plot 2 concentric circles and a polygon of ...
3
votes
1answer
78 views

Plot of various Piecewise and combine

I want to combine plot of four piecewise function for the following for. I have a code with "For", and I do not know which 'Show' can help me. ...
6
votes
1answer
70 views

Half Plot - half LogLinearPlot

Is it possible to do a plot which is partially Plot and partially LogLinearPlot? The reference figure is We see that the ...
1
vote
1answer
99 views

What do the lines in a ContourPlot Mean?

If you plot a two variable function like for example $x^{2}+y^{2}$, you get a series of circles with lines and colored areas? My question is, what do the lines and the colored areas represent?
0
votes
1answer
77 views

Problem with Sin and ListPlot

In order to produce a smooth sine wave (Sin) and visualize it (ListPlot), I seem to need a very high sample rate (much higher than Nyquist). I want to know if this is a artifact of ListPlot or Sin ...
1
vote
5answers
509 views

Label each panel of Grid

I have a set of figures that I would like to show as grid for a publication. I currently just export the figure as an eps and use another software package to add Labels (A,B,C,D) to each panel of the ...
2
votes
2answers
63 views

How to set global style of controls in Manipulate?

I created a Manipulate code which is using several sliders, with the same font output (style, size, font familly, ...). How can I save some space by defining a global style for all the slider ...
0
votes
1answer
57 views

Mathematica is not able to plot this DensityPlot

I am trying to integrate function f(k,t,p) and plot real part of it (heat map).But some how Mathematica always always shown "running..". Can you help me or suggest ...
6
votes
3answers
1k views

Finding all maxima and minima of a function

To find all (global and local) extrema of a function in $\mathbb R^3$, I have written the following. Example function: ...
1
vote
0answers
53 views

How to speedup Plot3D with precompiled argument

I have a huge problem with my code: I estimate it to take hours to run. The scheme of the code is the following (I left the steps the same, but took much simpler functions): ...
5
votes
1answer
75 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 ...
1
vote
2answers
77 views

ContourPlot of HistogramDistribution

I am trying to create a density plot of a 2-dimensional HistogramDistribution. ...
3
votes
2answers
88 views

How to remove parts of a curve?

I have a curve that have some unwanted parts. How can I remove them ? Or how to constraint the curve to a specific region ? Here's a MWE that shows the problem : ...
-5
votes
0answers
42 views

Problem regarding plot [closed]

I want to plot a graph of stress variation in a particular region. For example I have plot this equation (increase in vertical stress by a strip load ...
0
votes
0answers
39 views

How to fit a plot with error bar as weight?

I try to fit a line which can fit through the points considering the error weight of each coordinate. Is it possible to do in Mathematica? I can only find Fit function which did not do what I really ...
3
votes
1answer
102 views

Drawing dynamical trajectories diagram in Mathematica

I've a Boolean gene regulation system composed of vectors(corresponding to cellular phenotypes). Their components are binary numbers such as $\{1,0,0,1\}$. A vector can change its statement in ...
22
votes
3answers
1k views

How to make a 3D topographic globe?

I've made some attempt with this dataset of elevation. But I have some trouble with ListSurfacePlot3D, which can not show the globe correctly: And I've checked that the data is out of problem, ...
3
votes
1answer
66 views

Frame labels without a frame?

Is there a way to add labels to a 2D plot, without the Frame ? Here's a MWE which shows a simple graph with four labels around its frame. I need to remove the frame, but keep the labels. Is that ...
1
vote
1answer
458 views
0
votes
2answers
62 views

Plotting cicle using ListPlot

How can I plot circle plot with ListPlot function or how to organize data to produce circle plot from ListPlot function ? If u do something like this ...
-2
votes
0answers
40 views

Several RegionPlots in one big plot [on hold]

I have 3 RegionPlots and want to merge them into one plot. To illustrate my point I want to summarize it in the following: I have a piece wise defined function like ...
1
vote
1answer
35 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 ...
-1
votes
0answers
62 views

Plotting points with Euler's Method [on hold]

I have the solution for this diff. eq. graphed and assigned to a variable, how do I show points on or off the graph? (dy/dx)=(y^2)-(x^2) It's solution is a Bassel Function conglomeration. Now ...
-1
votes
1answer
79 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
63 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
104 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
305 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
170 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, ...
0
votes
0answers
40 views

Getting an error when using LevelScheme package to produce ticks for a 3D plot [closed]

I have four two-variable functions and would like to plot it as a 3D surface using Mathematica 8.0 installed on my Windows 7 Operating System in the following manner: ...
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 ...
0
votes
0answers
35 views

Converting the FrameTicks systematically? [closed]

I found my question very similiar to the one in Labelling ArrayPlot Charts. But what I'm trying to do is to replace FrameTicks in my ContourPlot systematically. For instance my y-axis is temperature ...
1
vote
1answer
76 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
19 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
189 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
153 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
74 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 ...