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

learn more… | top users | synonyms (4)

7
votes
1answer
159 views

How to plot inequalities taking into account that points must be integers and not reals?

I have solved with Mathematica 9 the following integer inequalities using Reduce: ...
0
votes
1answer
1k views
6
votes
2answers
1k views

Axes Origin & Labels in 3D Plot

I'm looking for a way to have the axes at the origin in a 3D plot and to label the (x,y,z) axes in the usual way---with x near the end of the drawn portion of the x axis, y near the end of the drawn ...
2
votes
1answer
140 views

MatrixPlot for DFT in black and white with ContourLabel

I have several data files such as this: ...
2
votes
2answers
446 views

How can I invert the colors in a color bar

I have this Mathematica code ...
5
votes
1answer
426 views

How to zoom and pan a ListLinePlot?

I'm using ListLinePlot inside a Manipulate function to display some data. I've seen that Mathematica allows zooming and panning ...
4
votes
2answers
481 views

Plotting a vector field

Can I somehow plot a vector field and the scattered data point associated with each and every vector? Also, is there any way to prevent Mathematica from interpolting the vector field? I am trying to ...
2
votes
1answer
508 views

BodePlot Phase disagrees with convention. How do I make it agree? [closed]

This question is similar to a previous question, but I did not find an adequate answer there. If I type in the command BodePlot[1/(s^2)] I get a horizontal line ...
2
votes
1answer
198 views

ParametricPlot3D doesn't appear

Here I have one simple system solvable with NDSolve. I don't know why ParametricPlot3D doesn't present trajectory in space. I have solutions for x[t], y[t] and z[t] ...
2
votes
0answers
37 views

Plot3D has a break in the center of the plot [duplicate]

I am trying to plot a relationship using Plot3D and for a reason I cannot figure out the function is not evaluated in the middle of my range. If I take a 2D slice ...
13
votes
1answer
331 views

Changing line thickness without changing line length

Is there any way to change the thickness of line without changing the width? For instance, the following example shows that as thickness increases, the white gap decreases. Is there any way to ...
4
votes
1answer
102 views

How can I highlight the vanishing-partials in an interactive 3D plot?

I am using Manipulate and Plot3D to plot a function with two real variables and two extra parameters. ...
4
votes
2answers
2k views

How to use a 3×3 covariance matrix to plot an error ellipsoid?

I have a 3×3 error covariance in Mathematica, but I don't know how to use it for plotting the error ellipsoid. It would be great if you can show me how I can do that for the below covariance matrix: ...
3
votes
1answer
325 views

Exporting a Video of a Simulation of Pendulum Motion

In a series of previous questions, I asked how to solve a series of differential equations describing a series of coupled pendulums, and then how to plot this data by coloring the different pendulums. ...
4
votes
1answer
345 views

Show doesn't show all the plots

I try to combine three list plots with the Show command. Here is the first one: ...
7
votes
2answers
2k views

Increasing the thickness of line in plot legend

I've been using the shiny new legends in V9 for my plots. However, I usually increase the Frame/Axis ...
3
votes
1answer
299 views

BarChart and Log Scale results in different bar origins

I want to create a bar chart from two different data sets. ...
5
votes
3answers
535 views

Using PlotLegends

Please don't answer this with "Just trash PlotLegends" or anything like that as I have tried homebrew solutions. I keep running into problems which I can't debug as ...
1
vote
1answer
137 views

Need assistance with plotting Cell Center Points and Normals (ListPlot, ListVectorPlot)

This is the CellCenter datapoints and associated Normals data: http://wikisend.com/download/458974/CellCenters-and-Normals.dat The dat file contains data points for x,y coordinates and x,y ...
13
votes
3answers
1k views

Making Axes logarithmic in 3d plots

I've been trying to get loglog plots in 3D, but to no avail. My initial approach was to take the logarithm inside the plot i.e ...
1
vote
1answer
124 views

Using only two colors in a ListPlot3D

The data I have given here will plot the data in ListPlot3D function and gives the visualization of bars on the plot. I want to customize the color for the bars in ...
10
votes
4answers
673 views

Coloring Points in a Plot, based on their position in the list

Before I describe the question, I'd like to say that I've seen the excellent answers posted here but have not managed to get them to work for my own data. I have a list of values that I would like to ...
21
votes
2answers
1k views

Making a presentable BarChart

I've been asked to reproduce a bar chart generated in Excel in Mathematica. The original Excel chart looks like this; My Mathematica version looks like this; There are a couple of things wrong ...
2
votes
1answer
436 views

Increasing the size of numbers in a legend bar

I would like to know how you go about increasing the size of numbers which appear in a legend to make them larger than the default (which is too small for publication purposes). Example: ...
3
votes
3answers
492 views

ParametricPlot and PlotLegends don't seem to cooperate

I noted that only part of the legend shows up in ParametricPlot using v9's PlotLegends: ...
1
vote
2answers
314 views

How can I draw temperature 3D plot?

I want to draw temperature 3D plot based on given data points {{x1,y1,z1},{x2,y2,z2},...}. Here z coordinate is temperature.Am going to Show the temperature z in corresponding {x,y} coordinate. In my ...
0
votes
1answer
158 views

Why won't ContourPlot accept a variable argument? [duplicate]

I have a list of linear inequalities which describe a (polygonal) region. I can use RegionPlot to visualize this region; but I'd also like to overlay this plot with ...
0
votes
2answers
259 views

Cumulative frequency plot

I have the following data: data = {{0, 0}, {20, 1.4}, {25, 9.8}, {30, 32.2}, {35, 38.2}, {40, 15.6}, {45, 2.7}, {50, 0.1}}; where the second coordinates are ...
2
votes
1answer
196 views

Interpolation on large 2D list results in erratic function

Previously, I've had problems with Mathematica interpolating and plotting 3D lists, but I finally managed to do so by rescaling the x and y-axes with the help of the methods proposed here. Now my ...
4
votes
1answer
160 views

Plot3D list elements

I've been having some trouble with Plot3D. I have a quite complex function of two variables (actually three but the first one doesn't matter) that returns a list ...
3
votes
3answers
358 views

Horrific Looking Contour Integral in Mathematica Plot:

I'm attempting to display the geometric meaning of a contour integral but as you can see, the typesetting of the contour integral (created via the Epilog function) looks awful because the contour ...
8
votes
3answers
555 views

Dashed mesh behind 3D object

I am trying to create a simple, almost transparent 3D sphere with a mesh that is made of solid lines if they are on the front surface (i.e. if they are directly visible) and of dashed lines if those ...
2
votes
1answer
129 views

Avoiding the re-evaluation of a RegionPlot3D

Is there a simple way to save the output from RegionPlot3D so as to avoid re-evaluating when the notebook is re-opened and Show ...
4
votes
3answers
505 views

Graphical Plots of PDF and CDF

I have a joint density and distribution function that I want to plot in a meaningful way, (i.e., want to be able to see how the functions behaves as changes in x and y happen simultaneously. If ...
10
votes
4answers
614 views

How to draw a higher-genus surface

NB: By higher-genus surface, I mean a closed orientable surface of genus at least 2. This question has come up before on math.SE, and even MathOverflow, but most posters suggested using either ...
4
votes
1answer
97 views

How can PixelConstrained be emulated with DensityHistogram?

This DensityHistogram doesn't display very well. Some bins are shown much larger than others and, oddly, empty bins appear to be drawn smaller than occupied bins. ...
3
votes
1answer
848 views

Contour Plot in Cylindrical Coordinates

I'm trying to render an equation in the cylindrical coordinates, and I used the following codes: ...
27
votes
3answers
634 views

How can I make points “glow”?

I have a set of points in the plane which I would like to have "glow". I would like for each point to glow individually and I would also like some increase in the intensity corresponding to an ...
1
vote
1answer
136 views

Problem with large values in ParametricPlot

I've got a question quite similar to No 18163:Problem with high parameter values in ParametricPlot, but the solution of that problem did not work for me. So I hope you may have another tip. I want to ...
16
votes
2answers
523 views

Helio chart for canonical correlation

I'm trying to create a chart usually called "Helio chart". It's a chart type very suited for canonical correlation analysis involving several dependent and independent variables. However, it is a ...
3
votes
1answer
89 views

Controlling margin around PlotLegends

Here's my code: ...
5
votes
3answers
478 views

Placing bar chart labels on the upper and lower frame axes

In the bar chart (with negative values) ...
2
votes
2answers
258 views

Solving and plotting ODEs while varying one of the initial conditions

How can I vary an initial condition in the numerical solution of a system of ODEs and then make a 3D plot of the solution space with that condition as one of the variables. ...
-1
votes
1answer
629 views

Labels for each curve on a multi-curve plot using an efficient method(without writing a large code) [duplicate]

I have a question on plot labeling in Mathematica. I have y = 4 x / L + 2 where L = {10, 20, 30, 40} I want to draw a ...
1
vote
2answers
766 views

Finding a best fit curve and plotting it [closed]

I have a list as shown below: m01 = {{250, 0.083121}, {200, 0.0888446}, {150, 0.0992422}, {100, 0.121567}, {50, 0.186825}} I'm new to Mathematica, and would like ...
0
votes
2answers
352 views

Copy and pasted graphics are fuzzy

I have a function that creates a 2D line with filling to the axis. When I copy this graphic into word it is very fuzzy, so much so that the numbers and text are almost unreadable, not to mention the ...
6
votes
1answer
307 views

Filling only when one curve is below the other

I want to fill the area between two curves only when curve-1 (Black) is below curve-2(Blue). So In this example, I don't want the middle portion shaded but just the left and right tails to be shaded. ...
0
votes
1answer
148 views

ContourPlot of a complicated function

I have the function $pot_1(x,y,z)$ which is given in analytical form. So, in order to plot the contours at the primary planes $(x,y)$, $(x,z)$ and $(y,z)$, I use the following ...
5
votes
3answers
573 views

Custom mesh in ListPlot3D

I have the following data: ...