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

learn more… | top users | synonyms (10)

3
votes
0answers
46 views

JournalArticle does not react on the PointSize option

The Default StyleSheet recognizes the PointSize option for ListPlot: ...
1
vote
1answer
65 views

How to improve the smoothness of ContourPlot3D at the boundary

I want to ContourPlot3D[] a iso-surface. $3$ independent variable are α1, α2, Ψ, respectively. The codes are as follows (the ...
3
votes
1answer
89 views

Getting PlotPoints value from a Plot

I want to display the PlotPoints and MaxRecursion values used to plot the current graph so that the user can change the values ...
11
votes
3answers
736 views

How to visualize the interior of a complicated 3D plot

I have an external data file (can be downloaded here: link 1 or link 2) which contains a dense grid of initial condition in the (x,y,z) space. I read it with Mathematica and plot these initial ...
0
votes
0answers
62 views

Is there a good way to schematically show that 3 vectors are perpendicular? [on hold]

I have 3 vector plots, I want to show that overlapping arrows from each plot are perpendicular to each other, when I show all plots in one plot it looks like this: It is hard to see that the ...
2
votes
2answers
80 views
2
votes
2answers
114 views

Best way to include a “singularity” in a SmoothHistogram?

I have a dataset like this: data = {0,0,1.1,1.3,0,0,3.4,0,0,2.3,0,0 .....} You can imagine that data is generated from a ...
1
vote
2answers
56 views

How to 2D-plot function in three varibles with one fixed

This post is an extension of the post: How to 2D-plot function in two varibles Actually I got the answer for that question from ...
1
vote
1answer
123 views

How to 2D-plot function in two varibles

I try to make a plot of a function in multi variables as in that paper arXiv:1312.1935, FIG. 2 . I tried some thing like: ...
1
vote
2answers
67 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
83 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
511 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 : ...
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
103 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 [closed]

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 [closed]

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
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
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
306 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 ...
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
78 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 ...