Tagged Questions

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

106 views

How can I draw a histogram from a nested list?

I have a nested list of the form list= {{1,1,1},{1,2,3},{1,1,1}} How can I plot a histogram that tells me how often each number pattern appears in my list? For ...
96 views

How to contour shade two specified contours?

I want to have contour shading between two contours specified by two equations like below, ...
178 views

Arrowheads in VectorStyle and StreamStyle doesn't work properly in VectorPlot and StreamPlot, respectively. A bug?

I'm using Mathematica 10.0.2 for Mac. Arrowheads given in VectorStyle for VectorPlot doesn'...
597 views

How to plot the solution of a Partial Differential Equation?

My attempt. I need to solve numerically the Complex Ginzburg-Laudau Equation (CGLE): $$\frac{\partial A}{\partial t}=\epsilon A-(1+i\beta)|A|^2A+(1+i\alpha)\nabla^2A$$ I'm using a uniform initial ...
55 views

How do I plot an expression in mathematica? [duplicate]

I have the following mathematica expression: ...
92 views

How can I combine two plots? [closed]

I am interested in plooting x only from 0 to 1, and afterwards x^2, only from 1 to ... whatever ...
106 views

392 views

How to make a 3d surface/point plot with color based on a list

This is my data: ...
126 views

DiscretePlot - adjusting the scale on Y axis to log with prescribed spacing

I have this picture of a residual Plot I am trying to reproduce (Y axis scale should be the same as in my plot): The code I ...
530 views

Controlling colors of points in ListPlot

I have a collection of points I want to plot using ListPlot[]. I would like each individual point to be a certain color depending on a key value that is based on a list separate from the points. As a ...
216 views

Problems with TimelinePlot

I'm trying to play with the example in this recent blog post, but I'm having a few basic issues with TimelinePlot: Labels are getting cut off: How can I get ...
38 views

Detecting deviations in a list of points [closed]

Say that I have a list of evenly-spaced points that I want to plot using ListLinePlot. To generate them, I am using a function that works with relatively low ...
66 views

Plotting 2nd order ODE solution for specific values of constants

Suppose that I have a 2nd order, linear ODE and I want to plot the solution I found using DSolve. How can I plot giving specific values of ...
318 views

adjust the alignment of different legends

I used Show to combine a ListPlot and Plot, and each plot has its own legend. The code is as ...
70 views

Plot an ODE solution for a list of specific constants [closed]

Let's say I have a 1st order ODE and want to plot the solution. What I have been doing until now is: ...
147 views

Change numerical plot labels on one axis to strings

This question likely has a straightforward answer. Suppose I have a plot something like this: ...
107 views

Generating by plots by rerunning code

I am new to Mathematica. I created a code where I can evaluate a parameter (denoted by PoA) for a random instance of a directed acyclic graph. The code is below. ...