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

learn more… | top users | synonyms (4)

5
votes
1answer
108 views

ArrayPlot: space between displayed data and frame

When I execute the lines ...
15
votes
3answers
278 views

How to make Joined skip missing data points

I have a set of data taken on sequential days, but some points are missing. I'd like to make a joined date list plot, where the points are not joined across the missing point.The following example ...
2
votes
0answers
65 views

How to create a ListPlot containing two lists? [duplicate]

I'm trying to plot a set of points where one list corresponds to the X values another list corresponds to the Y values. I have ...
0
votes
1answer
313 views

Projecting on an arbitrary plane

I have the following code, giving me a representation of a photon hitting a cylinder: ...
3
votes
1answer
155 views

Isolate a specific contour without Contour Shading

I have a contour plot that took a few hours to evaluate. Is there a way that I can show only the contour lines of a specific value without re-evaluating the contour plot?
-1
votes
1answer
107 views

Plotting a function dependent on $x/d$

I have a problem in plotting a function. The example code is as following: ...
0
votes
4answers
710 views

Problem with plotting legends using the PlotLegends package

Here is my problem : I have a table composed of 3 "under"-Lists and I'd like to plot it with legends, but I can't find a way to do it. ...
0
votes
1answer
139 views

plot probability

Hi I just want to flatten a function, I tied it with Joined->True, but it did not work, hope somebody of you can help me. This is my code: ...
6
votes
3answers
424 views

Opacity and overlapping multiple polygons

Let's say I have 100 polygons that are all different but most of them overlap. All I want to do is to draw/plot them in one single graphic with linearly adding gray values; i.e., a point with ...
2
votes
1answer
250 views

Looking for equivalent of MinorTicks->None

I am looking for the most general possible way to suppress the display of minor ticks in Mathematica plots.1 More specifically, I'm looking for the equivalent (or near-equivalent) of a fictional ...
0
votes
1answer
124 views

Plotting boundary value expression against a parameter

I am very new to Mathematica and have a question regarding plotting a ODE boundary value problem. Let say I have an ODE ...
1
vote
2answers
345 views

How to set the ratio between the vertical and horizontal scales of plots?

The documentation says that when AspectRatio->Automatic is specified, Mathematica determines the ratio of height to width from the actual coordinate values ...
5
votes
1answer
101 views

How to make endpoints flush with fill in ListLinePlot?

If one plots a filled line plot such as, for example, the one produced by ...
1
vote
1answer
380 views

How can I plot a hyperbola from its complex representation?

How can I plot the hyperbola represented by the following complex equation: $$\left|z-a\right|-\left|z-b\right|=2t\tag{1}$$ Should I convert (1) into the following form? ...
1
vote
2answers
135 views

How can I speed up this plot manipulation? Why does Evaluate not help?

If I were able to "Save" the computed inverse function somewhere and then plot it, the manipulation would become faster. As I understand, Evaluate should do the job, but for some reason it does not. ...
0
votes
1answer
82 views

Plotting spaces spanned by parameters

Suppose I have three coordinates functions of a vector of parameters: x[q],y[q],z[q] where q is at least a three dimensional vector in some domain Q. Is it possible to plot in 3D the space spanned by ...
-1
votes
1answer
182 views

Changing axis values using PlotRange/DataRange in ListVectorPlot [closed]

This is the plot I want to change: ...
3
votes
1answer
176 views

How can I make ArrayPlot use one pixel per plot point? [duplicate]

If I ArrayPlot an {1200,1600} matrix, the result is a plot with ImageDimensions of ...
2
votes
1answer
190 views

3D arrow tail properties

I would like to use VectorPlot3D to plot a vector field with 3D arrows: ...
0
votes
2answers
186 views
5
votes
2answers
760 views

ContourStyle for a particular contour line in ContourPlot

I have the following command: ContourPlot[(-1 + x)^2 (-1 + y) + x^2 y, {x, 0, 1}, {y, 0, 1}, ContourLabels -> True] which gives me I want to highlight the ...
5
votes
1answer
347 views

Plot the boundaries of each piece of a piecewise function

I'm wondering how to plot the boundaries of each piece of a bivariate piecewise function. Lets take for instance the following piecewise linear function $B_{111}(x,y)$: ...
2
votes
2answers
303 views

Problems with BarLegend in MatrixPlot

I have the following data: ...
-5
votes
1answer
231 views

random number visualization without generator (Spectral Test)

Does anyone have codes for using only numbers to make this kind of random-number visualization and not requiring a number generator? ...
4
votes
3answers
305 views

ContourPlot and Colorfunction

I have the following code: ...
1
vote
3answers
437 views

Phase portraits and StreamPlot

I typed StreamPlot[{y, x-x^3-0.3y+0.5Cos[1.25t]}, {x, -2.5, 2.5}, {y, -2.5, 2.5}] but all I got was a blank plot. What did I do wrong and can I fix it?
3
votes
2answers
216 views

two histograms ratio

I have two histograms and using listplot to draw both. Now, I want to draw a second plot, below the first, with the ratio of each bin. Does anyone know how to do this? Many thanks. This is the code ...
4
votes
1answer
175 views

Modified definition of Sin does not work in Plot

I don't know if this issue has been discussed before, if anyone know any related post, please let me know, thank you :) Unprotect the function ...
2
votes
0answers
45 views

How can I account for assumed X and Y errors when using findfit? [duplicate]

I'm using very noisy biological data, and I need to assume, when doing linear regression, that there are errors in both X and Y. ...
5
votes
2answers
527 views

Place plot markers in front of error bars with ErrorListPlot

I'm making an ErrorListPlot where the error bars are a different color then the markers and it works, however, the error bars are drawn in front of the markers and ...
3
votes
1answer
309 views

Explanation about RegionFunction and MeshFunctions?

In the link, ParametricPlot3D, consider the example(Variation on the Spheres) given in the Neat Examples section. Can someone please explain how ...
1
vote
1answer
288 views

How can I choose the fill color for list plots? [closed]

I have many list plots, and I want to fill them according to my own choice of color. Can I do this in Mathematica? And how I can get different number codes of filling curves? For example, how would I ...
2
votes
1answer
390 views

Plot a 3D vector field from a file [duplicate]

I have a data file with six columns {x,y,z} and {ux,uy,uz} respectively, and I would like to plot the 3D vector field. http://www.mediafire.com/download/udoa61hu0m6itrc/campo.txt I'm trying to do ...
0
votes
1answer
212 views

Filling from Gridline to edge of plot

Hi I would simply like to fill in the region from a vertical gridline to the right boundry of the plot Here is an example ...
0
votes
0answers
619 views

axis label formatting in Plot3D [duplicate]

I have the following code: ...
3
votes
2answers
160 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 ...
1
vote
3answers
115 views

How can I threshold for a minimum value with MatrixPlot?

Looking at the Options for MatrixPlot, there doesn't seem to be a mechanism for lowerbound threshold - i.e. ignoring values that ...
7
votes
1answer
250 views

StreamPlot with interpolating functions

While working my way through the Wolfram Blog post on simulating fluid flow I started playing with StreamPlot because I preferred quick and ugly visualizations over ...
8
votes
3answers
219 views

PlotMarkers don't change colour for different lines

I have a set of data and several function operating on the same data, that I wish to plot together in a ListPlot. I need different ...
1
vote
2answers
193 views

Clear labelling gray-scale plots

I am plotting a number of functions (at least 4 in one plot) with a legend. Needless to say, it is important that it is clear from the legend which line belongs to which function. I tried to play ...
1
vote
1answer
125 views

FindMinimum gives wrong solutions inside a loop

I have a density function $\rho(r,z)$ and I want to calculate the minimum distance $d_{min} = \sqrt{r^2 + z^2}$ from the center (0,0) in which $\rho$ becomes negative. The easiest way is to find where ...
5
votes
4answers
268 views

Drawing normals to a curve

I want to draw a series of normals to a curve, where the curve has been parametrized by a single angle, i.e., the polar angle. The curve is actually sinusoidal perturbation of a circle of radius ...
38
votes
5answers
1k views

Vary the thickness of a plotted function

I know, that I can change the color of a function with the help of PlotStyle: Plot[Sin[x], {x, 0, 3 Pi}, PlotStyle -> {Green, Thickness[0.01]}] I also know, ...
0
votes
1answer
97 views

How to transform a DynamicModule into a Graphic

I am generating a graph through a custom function using DynamicModule: graph1 = customFunction[a] If I try to do: ...
30
votes
3answers
933 views

Implementing hexagon binning in mathematica

Hexagon bin plots are a useful way of visualising large datasets of bivariate data. Here are a few examples: With bin frequency indicated by grey level... ..and by glyph size There are packages ...
2
votes
1answer
158 views

Jumps on a Plot animation

The following code: ...
8
votes
2answers
1k views

Legends in combined Plot and ListPlot

I have a set of data ...
8
votes
1answer
366 views

How to align two overlayed plots, one being rotated?

I have two plots which I want to present on a single figure. The bottom left corner is a point of origin of the first plot. The top right corner is a point of origin of the second plot. Also, the ...
0
votes
2answers
213 views
3
votes
2answers
440 views

Creating a grid of plots [duplicate]

I'm really a noob on Mathematica. I would like to create a layout of multiple plots in Mathematica. I've a function that calculates the solution, over time, of a system of differential equations. ...