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

learn more… | top users | synonyms (4)

1
vote
2answers
220 views

Plotting bipartite graph from adjacency matrix

I have an $m\times n$ matrix $A$ representing the adjacencies between the nodes of a bipartite graph. Specifically, the nodes are arranged in two partitions, of $m$ and $n$ nodes respectively, such ...
5
votes
1answer
294 views

Preparing 2d plots for publication

When it comes to plotting a data my general attitude is to avoid post processing (say with adobe illustrator) as much as possible. To follow this strategy I would like to prepare publication-ready pdf ...
0
votes
0answers
93 views

Problem with using the results of ParametricNDSolve in a ParametricPlot3D

I new to Mathematica and I have a problem with certain equations. I want to plot a trajectory in spherical coordinates given by the equations: ...
0
votes
1answer
113 views

ListDensityPlot with discrete bins [duplicate]

We consider a table of the form data = Flatten[Table[{i,j,f[i,j]},{i,1,ni},{j,1,nj}],1] The function f[i_,j_] has been made ...
5
votes
1answer
334 views

Apply color function to matrix plot

I want to apply the following color rules to a large table of numbers. I have extracted a part of the table to use as an example. I would like to assign 5 different colors to 5 different ranges of ...
3
votes
1answer
129 views
16
votes
2answers
1k views

Is there something like DensityPlot3D to visualize atomic orbitals?

I'm visualizing some hydrogen like atomic orbitals. For looking at plane slices of the probability density, the DensityPlot function works well, and with something ...
10
votes
4answers
405 views

How to create Line Chart with real third coordinates?

I would like to generate something like 3D Line Chart in Excel. Like the following figure but including third coordinates. Example I have a set of 2D data combied with 1D spatial data. ...
2
votes
1answer
189 views

Label x-axis of Plot with power of two values

I want to make a plot similar to LogLinearPlot, but with power of 2 ticks instead of 10 on x axis. ...
3
votes
1answer
124 views

Plot solution of equation with shift

For example I have an equation $F[x,y]==0$. Let $S$ is a set of solutions of equation. $(a,b) \in S \leftrightarrow F[a,b]=0$. I wanna draw a set $\{(a,b) + \operatorname{grad} F (a,b) : (a,b) \in ...
1
vote
1answer
219 views

ListDensityPlot

In Mathematica help it's written that: ListDensityPlot[array] -> generates a smooth density plot from an array of values. ...
2
votes
1answer
200 views

Perspective transformation of a 2d streamplot

I have a two-dimensional streamline plot from a fluid dynamics simulation. I am wondering: is it possible to somehow allow Mathematica to treat the streamline plot as a plane in three-dimensional ...
0
votes
2answers
227 views

ListPlot with spherical coordinates with data from file [closed]

I have a file that is a table of values for r, $\theta$ and f(r,$\theta$) with r and $\theta$ being spherical coordinates, $\phi$ being 0 the whole time. The data thus looks like ...
1
vote
0answers
38 views

Specify the color of a horizontal grid line in a plot [closed]

I wish to plot a function and add a red, horizontal grid line at the height of the Euler-Masheroni constant. I am successful in ploting the line at Exp[EulerGamma], but I am having difficulties with ...
4
votes
1answer
236 views

How do I make the color of arrowheads in a graph different from the colors of the arrows?

I'm graphing a Markov process mp = DiscreteMarkovProcess[{1, 0, 0}, ({ {0.6, 0.1, 0.3}, {0.2, 0.7, 0.1}, {0.3, 0.3, 0.4} })]; and would like ...
0
votes
0answers
55 views

Plotting surfaces described by redundant variables - Alternatives to use of Eliminate + ContourPlot3D

Suppose I want to plot a surface defined by equations involving redundant variables. Consider, for example, plotting the surface defined by the equations: $$ \left\{ \begin{array}{l} \cos x + \sin y = ...
0
votes
1answer
70 views

Suppress negative y-axis in ListLinePlot even if all values are zero?

I have some lists that will always contain non-negative values, sometimes all zeros. Whatever non-negative values appear in the list, I would like the plots to appear without a negative y-axis. I'll ...
2
votes
2answers
171 views

How to plot a consecutive set of data?

I want to plot a series of data point: ...
0
votes
1answer
61 views

ParallelTable and plotting result of own define funtion

I define function which return a list of numbers ...
4
votes
1answer
151 views

“Legended” not working with “Plot” or “LogLinearPlot”

Version 9 has a new option Legended, which I find appealing since it should allow me to add individual expressions/curves to a legend, but it doesn't seem to be ...
3
votes
2answers
178 views

How to store multiple plots to be viewed later

I need to be able to import my data and create multiple listlineplots, but my inputs for each plot are very large. I am able to assign variables to each plot and then use GraphicsGrid to view them ...
7
votes
1answer
191 views

Plotting plain data (single value lists) in 3D

Some Chemistry data sets I am trying to plot some titration data with Mathematica. I have done 4 experiments and gathered around 70 pH points (one for each milliliter) during each session, and ...
0
votes
2answers
113 views

Having problems with ListPlot and a PaddedForm wrapper

I defined a function f[x_] = x^3 2 x. Then I had to construct a table showing vertically, the values of f corresponding to x on ...
0
votes
1answer
240 views

Can't plot recursive function

I am new to Mathematica and now I could use some help. Trying to plot any of these functions generates a $RecursionLimit exception and I am wondering why. ...
0
votes
1answer
64 views

Switching the plot variable when plotting a two-variable function as a single variable function with a parameter

I would like to make easy to change the variable for which I am making a set of plots. Say I want to plot Sin, Tan, Cos and other functions of the same argument. To quickly switch from plotting it as ...
2
votes
3answers
518 views

How do I plot two Gaussians/normal distributions with 2 different means and 2 different standard deviations?

This is probably very easy for someone with more experience, but I am trying to plot only two Normal distributions, but for some reason my Method plots 4, instead of 2. I have: ...
2
votes
2answers
250 views

List density plot for non-uniform data

I am trying to make a density plot to show the data that can found here. I tried with GNUplot previously. The result of GNUplot density plot for a rectangular set of data. I am able to do this only ...
2
votes
3answers
174 views

Why does Dynamic for PlotRange in ListLinePlot prevent the proper range from being used?

I am using Manipulate to simulate Brownian motion. I want to be able to zoom in. Thus, I want to use Dynamic for the ...
0
votes
1answer
61 views

how to superimpose two best-fit graphs [closed]

I have a couple of best fit curves. All I want to do is superimpose them, to see if they are shaped differently. (I can eyeball them but I want to be sure, as it were). On to what I am asking: I ...
2
votes
2answers
287 views

How to make lines in Plot Legends wider?

1.- How to put DASHED lines in the Legend? 2.- How to give Style to {20,Bold} to all "Expressions in Legend? (I use LegendMarkSize for make lines wider than default fine style ) ...
11
votes
3answers
525 views

Labeling plots without evaluation

This is my first question here so please excuse my mistakes. Let us consider a rather contrived example: ...
3
votes
1answer
147 views

Zooming into animated plot

Let's say I have the following animation: Animate[ParametricPlot[{Cos[a t], Sin[a t]}, {t, 0, 1}], {a, 0, 2Pi}, AnimationRate -> 0.1] Is there a way to ...
4
votes
1answer
137 views

SmoothHistogram with sharp boundary [duplicate]

When using SmoothHistogram (to plot probability distribution function), I noticed that the edge of the figure is automatically smoothed towards zero probability. ...
4
votes
1answer
210 views

Changing Plot order for 3D printing

Alright, I got a my first 3D print done of a pseudosphere using parametric plot and a deflated sphere using a contour plot, but when I try ...
0
votes
0answers
23 views

How to put the values/points in a loop into a plot? [duplicate]

I've already make the do loop..it has 200 points..how am i going to put those points into a plot?do i need to make a list@table before doing the plot?here's my loop example, ...
0
votes
1answer
35 views

How to use the circledot in 3 (or any) series in ListPlot? [closed]

How to use the dots in the 2 series, with diferent color?. I know use symbols "O" instead of Automatic... but... tu use de dot? ...
2
votes
1answer
66 views

LogPlot and LogLogPlot do not output their legends correctly

When I give lists of functions to LogPlot or LogLogPlot with the option of PlotLegends, ...
10
votes
5answers
1k views

How do you plot the same function with different options over different intervals?

Here is the motivation for my question. I want to plot Sin[x] over the interval 0 to 2 π, ...
2
votes
1answer
149 views

Manipulate for variable number of sliders

I'm trying to use Manipulate for plotting multidimensional data, where higher dimensions are defined as sliders. First, this simple example works: ...
1
vote
3answers
144 views

How to make list plot when all information is in a single list

I want to make a plot , where the data is structured like so { {"l1", "l2"}, n1, n2, n3} } The values in the inner sub list are labels which are associated with ...
6
votes
1answer
427 views

Stacked Line Graph with fragmented data

Let's start with what I already found on the internet: ...
0
votes
0answers
47 views

How to add a subplot in corner of plot? [duplicate]

How is something like the plot with subplot shown in this image achieved with Mathematica?
0
votes
0answers
39 views

How to enlarge a part of a figure and then put them together for completion? [duplicate]

The small figure in the lower right corner is a magnified version of a part of the large figure. Are there any simple method to obtain the magnified figure from the the original one? Moreover, I ...
5
votes
1answer
135 views
1
vote
1answer
216 views

Multiple plots on same graph for different parameter?

I would like to be able to Plot a function (with an implicit Integrate command) with various values for a certain parameter ...
0
votes
0answers
85 views
6
votes
2answers
223 views

Mesh at Ticks positions

In a ListPlot3D[ ] I want to have the Mesh at the same positions as the ticks. For some reason this isn't default if both are ...
4
votes
3answers
315 views

How to use the same colors in Epilog and Plot

How can you use the same colour to the data in Epilog as the data in the ListLinePlot? I am plotting 25 lists (4 in this ...