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

learn more… | top users | synonyms (12)

13
votes
1answer
135 views

ErrorListPlot ignores some exact data points

Bug introduced in 10.0 and persisting through 10.4.1 or later Possible bug? Or am I missing something / expecting too much? Forgive the seemingly obscure data points but they're where I've noticed ...
3
votes
1answer
71 views

Generating plane equation from LinearSolve

I will ask a simple question and might have an issue on the site that explains better about it, but not found. I am formulating a code that defines me an equation that I can generate a plot. ...
1
vote
1answer
46 views

Help with ColorFunction [duplicate]

I'm trying to graph a list of data with ListDensityPlot. My idea is to color negative values in red, zero in white and positive values in blue. I created a ...
1
vote
1answer
40 views

How do I plot the columns of an $M \times N$ matrix as separate lines on the same graph using ListLinePlot?

I have seen many examples that show how to plot several functions on the same graph using ListLinePlot is this manner: e.g. ...
2
votes
2answers
156 views
2
votes
2answers
76 views

Plot with a reference line and shaded / colored region

How can I add horizontal reference lines at 4 and 6 (y-axis) and shading below each reference line on the following plot? Plot[i, {i, 1, 10}] Thank you!
0
votes
2answers
77 views

How to plot the mean of a 2d list with some empty elements

How can I plot the mean of such a list: http://pastebin.com/dNjeR4WC which contains an alternating number of elements in the sublists and some sublists that are empty and should not be considered in ...
1
vote
1answer
42 views

Show function seems to be broken [closed]

I read the thread How to make the Show function work in this case?. I think I have the same problem as discussed there. But when I try the to evaluate ...
0
votes
0answers
27 views

How to make lines more smooth in Graphics3D? [duplicate]

I drew using Graphics3D, but I found the quality of output is very low, like this:. I wanted to improve the quality of the output, make it more smooth. But I can't ...
0
votes
1answer
53 views

Intersection of volumes defined by inequalities

I have 5 inequalities with some parameters like dh, din and thetawhich I intend to vary. In ...
2
votes
2answers
58 views

How do I display the numeric value of a curve with Tooltip?

Using Tooltip, is it possible to display the numeric value of the curve I've plotted using Plot and ...
0
votes
0answers
40 views

How to Plot component frequencies, amplitudes and phases of a mixed signal

I generated a mixed signal by adding two sin waves (whose parameters I can change dynamically) and plotted them. I used the code for findPeriod from here to find the amplitudes, frequencies and phases ...
3
votes
1answer
78 views

How to export an already rendered image sequence?

I have an image sequence of around 1000 images in a .nb-File which I would like to export to PNG format (1000 images into a folder). If I use "Save as..." -> "Web page" Mathematica saves the 1000 ...
2
votes
0answers
33 views

How to specify image quality for GeoStyling “GeoImage” in GeoGraphics?

I am creating plots (ContourPlot, SmoothDensityHistogram, etc.) that I then need to project onto geographic polygons. When this ...
3
votes
2answers
139 views
3
votes
2answers
106 views

Does “MeanMarker” (BoxWhiskerChart) exclude outliers?

When you use the "MeanMarker" function within BoxWhiskerChart, does the mean shown on the box plot exclude the near and/or far outliers identified from the plot? If not, is there a (relatively simple)...
2
votes
1answer
109 views

How to align GeoGraphics “GeoImage” with GeoPositions?

I have latitude and longitude locations that I need density (or contour) plot to overlay on a map. For example: ...
1
vote
0answers
43 views

Roughness on 3D extension of a 2D border

I am working on a project where we are investigating the effect different shaped drum borders have on the sound the drum makes. It is relatively easy to do the mathematical calculations with different ...
0
votes
0answers
59 views

Plotting several graph of txt files

I have several txt files (t1.txt,t2.txt,...). Each file have two column with the datas x and y. I want plotting the datas of each file in diferents grahs and show all. I know plotting one file but I ...
3
votes
2answers
81 views
2
votes
1answer
78 views

Using RegionPlot to draw inequality involving Nintegrate

I'm trying to draw the region where the next inequality is true : $$ r_1 \tau-r_3 \int^{\tau}_{0} C_s(t)<0$$where $$C_s(t)=e^{t-r_5 t} \left(d e^{r_8 \tau }+e^{r_8 (t+\tau )}-e^{r_8 t}\right){}^{-\...
2
votes
1answer
67 views

Accessing Plot's default formatting [duplicate]

I'd like to plot multiple sets of data, along with trend line fits for each. I can do this by plotting the fits, and then including the data in an Epilog. But I'd ...
-5
votes
1answer
78 views

Can't get plot using the Evaluate function [closed]

I am trying to plot a series of five curves using a loglogplot command and then labeling the curves with a value. This is the program I am trying to run. ...
1
vote
1answer
68 views

Removing zeros from FrameTicks [duplicate]

I would like to divide values of FrameTicks by factor of 1000 to show KiloUnits instead of Units. How it is possible to do?
12
votes
3answers
749 views

Different calculation of median and quartiles, bug in BoxWhiskerChart?

When you plot a dataset with BoxWhiskerChart passing over the box in the plot with your mouse pointer shows some specifics about the dataset (min and max values, 1/...
1
vote
0answers
64 views
4
votes
1answer
62 views

Change label spacing on ListPlot

I want to add a label to each point of my ListPlot[] by using the example from the documentation as a basis: ...
7
votes
4answers
6k views

How can I label a ListDensityPlot with a color bar?

Here is an example of what is desired, only the result wouldn't be a contour plot, but a ListDensityPlot. The arguments would be a gradient and a list of numbers.
6
votes
1answer
94 views

How could I located Ticks on certain ridge/edge in cube box in Graphics3D/Plot3D

When I Plot a Graphics3D with samething like Axes -> True, AxesLabel -> {"X ", "Y ", "Z "}, Ticks -> {Range[-10, 10], Range[-10, 10], Range[-10, 10]} ...
4
votes
3answers
2k views

How do I make a log plot where the plot is logarithmic in the distance from the X-Axis (including negative values)?

For example, if I were to do a plot of Sin[x], I would get what looks like a Log plot of Sin[x], with another log plot of ...
2
votes
1answer
100 views

$\log_q \log_q$ plot instead of $\log \log$ plot

By defining the $\log_q$ as: $$ \log_q(x)=\frac{x^{1-q}-1}{1-q}, x \geq 0, q \neq 1$$ how would it be possible to have the equivalent of the LogLogPlot command, ...
0
votes
0answers
49 views

Optimization: Area of solvable constraints

I need some support with the following problem: In a polar-type problem, I hand over a list of variables rlist and a numerical optimization function (e.g. ...
2
votes
1answer
104 views

Sharp Edges in ContourPlot3D with Thickness setting

I am using a ContourPlot3D to plot an object with thickness. I noticed that the edges in the negative region are sharp and distorted. Is there a way to remove these distortions? Code is the following:...
2
votes
0answers
30 views

How to specify custom “ColorScheme” for “GradientScaleBoxWhisker” ChartElementFunction and Whiskers & Fences of BoxWhiskerChart?

With BoxWhiskerChart you can specify a gradient scale fill for the boxes using the ChartElementFunctionand the ...
10
votes
4answers
488 views

Finding a point from a set of contours such that it is nearest to a given point

I have several contour lines and one point. How can I find a point in one of those contour lines which is nearest to the given point? ...
0
votes
1answer
66 views
3
votes
1answer
97 views

Replacing arrows by figures

with the help of the Custom arrow shaft question I have been able to obtain the following little fish. Now I wonder how could I use it in substitution for the arrows in any plot like fields, ...
2
votes
4answers
299 views

How to embed a filled Region in a Graphics?

Let for example: regn = RegionDifference[Rectangle[{-2, -2}, {2, 2}], Disk[{0, 0}, 1]]; The only documented way I found to draw a gereric region ...
3
votes
1answer
231 views

How to change parameters to equations of physical properties they belong to in an equation?

First off, I want to apologize for my poor English as I am not a native speaker. In my physics research, I had to solve a system of equations, from which I would get a solution for the speed of an ...
0
votes
1answer
71 views

How to increase the size of fonts and tick marks and numbers in plotting a contour plot in Mathematica 8.0?

I have some function of two variables, $x$ and $y$, and I would like to plot $x$ vs. $y$ parameter space probability distribution function in which the contours are represented by ...
0
votes
1answer
63 views

How To Replace xAxis and yAxis Number Values With An Associated Name

This application works great. The thing is, the associations: {{xAxis, 6}, {4, 5, 6, 7, 8}}, {{yAxis, 7}, {5, 6, 7, 8}}, while functional, are not very intuitive. How can I replace xAxis and yAxis ...
1
vote
0answers
37 views

Parametric plot refuses to assign unique plot styles [duplicate]

I want to plot the motion on n bodies. To do this I have set up three variables that return a list of variables to be evaluated by an ...
0
votes
1answer
65 views

How to animate ListPointPlot3D from table?

I have a text file which is the following format: 1159, 2209, 19, 141 2169, 1827, 23, 54 Which I import, sort and gather using: ...
0
votes
1answer
42 views

ListPlot - set x axis to label in integer steps. [closed]

Calling ListPlot[{0, 0.1, 0.2}, DataRange -> {0, 2}] produces a plot with markers in $x = 0.5$, $x = 1$, $x = 1.5$, and $x=2.0$. I want to have markers only in $...
1
vote
0answers
49 views

ContourPlot3D that works in Mathematica 9 but not in 10

I have a code that works in Mathematica 9 but not in Mathematica 10 which is very annoying. I just get a blank plot in Mathematica 10 on Mac OSX El Capitan. Below is the code: ...
0
votes
1answer
156 views

Given $y$, find the $x$ value of a point on a Bezier curve

I have linear equation of Bezier curve with one control point: f[x_] := (1 – t)^2 x0 + 2 (1 – t) t x1 + t^2 x2; f[y_] := (1 – t)^2 y0 + 2 (1 – t) t y1 + t^2 y2; ...
0
votes
0answers
70 views
7
votes
4answers
952 views

How to draw a hanging rootogram in Mathematica?

I am trying to plot a hanging rootogram of some data in Mathematica. I can't seem to find a built in function for it, while simply using Histogram (on "transformed" data) does not seem to plot what I ...