Tagged Questions

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

114 views

Paralleizing the Plot function internally

I have a function of several parameters, funct(a,b,c,d,f,...). Mathematica deals with this function fine but it takes a minute or so to make a data point. I want to plot graphs of funct using code ...
107 views

Crop VoronoiMesh by States Latitude and Longitude

I want to crop a VoronoiMesh output (made with some point inside a Country state) by this same state border. I downloaded a ...
73 views

Getting FerrersDiagram to work

I am trying to generate FerrersDiagram (see http://reference.wolfram.com/language/Combinatorica/ref/FerrersDiagram.html), any clues to getting it to work? I get error message for the following: ...
84 views

No output from Plot3D when run from a script

Running Mathematica 10 on Ubuntu 14.04. When I run the following in the notebook it shows a plot. When I run the same code from a script (math < plot3d.test.m) ...
758 views

Suppress extrapolation of interpolating function in a ContourPlot

I have defined an interpolating function, myfcn[x], valid on the domain x = 0 to 1.5. I am then using ...
114 views

Plot3D and NIntegrate issues

f[x_, y_] := 2*x - y Plot3D[f[x, y], {x, -1*Sqrt[4 - y^2], Sqrt[4 - y^2]}, {y, -2, 2}] NIntegrate[f[x, y], {x, -1*Sqrt[4 - y^2], Sqrt[4 - y^2]}, {y, -2, 2}] I ...
163 views

Plot part of a circle

I want to draw a path of integration and I am facing the following problem. Given 2 point on the unit circle, draw all point of the circle that are left of the line the two points define. This is to ...
771 views

How can we plot the complex roots of an equation?

If we'd like to display the $n$ roots of a polynomial on the complex plane as points, how can we do this? For example, if we have the equation $x^3 + x^2 + x + 1$, how can we plot the 3 roots as ...
137 views

Custom plot range cropping

I'd like to plot two functions, say, Plot[{1 + Sin[x]/4, 10 + Cos[x]/4}, {x, 0, 10}, Frame -> True] Since their amplitudes are really small, I'd like to ...
172 views

Does PrivateFontOptions -> {“OperatorSubstitution” ->False} fail in version 10?

Please consider the following, version 10.0.1, OS X Mavericks: ...
371 views

How can I create a plot like this in mathematica?

I think this is called a caterpillar plot. The dot is the mean and the lines represent a 95% confidence interval. On the x axis there are several different test cycles, the red line is the true ...
241 views

AxesLabel broken in Version 10 for 3D plots?

In version 10.0.1 (Win7), AxesLabel with arbitrary text strings works as expected in 2D plots: ...
256 views

Package for nonlinear plot coordinates

Is there a package for plotting in nonlinear coordinates? I mean that I provide coordinate transformation functions {xi(x,y), eta(x,y)}, for example ...
189 views

Measuring the area of different regions from a picture

Consider the following picture of a phase plane which help us distinguish between regular and chaotic motion. The entire phase plane is divided into two types of regions: (i) the regular domain ...
199 views

Simple Plot of Vector

I have a vector $<x(t),y(t),z(t)>$ constrained to a unit sphere. I am trying to plot what the vector looks like as time progresses. What would be the easiest approach to visualizing this? I ...
76 views

Plot not showing values

Still pretty new too Mathematica. Can someone please point out what im doing wrong when trying to plot the Dijkstra' s fusc function? code: ...
136 views

Graph and table of values of cdf of chi-square

I am doing an assignment and have derived the following function, but I don't know how to graph it. I have a trial of mathematica which I have never used before. $f(x)=a(23.685/x)$ where a is cdf ...
152 views

Plot Complex Function [duplicate]

I want to have a 3D plot for the following function: (1.6 - 0.005 I) E^(-0.5 p^2 + ( 2. I) p q + (6.5 - 11 q) q) p and q from -10 to 10 Is there any way?
686 views

Labeling points in 3D plot

I am trying to label some points in 3D plotting. First, I'd like to label all points. The code below does not work, there seem to be a problem with a "Graphics" command, any ideas? Next, what would ...
145 views

Bar Graph - Compress/Shorten some elements

I have a bar graph that I'm plotting. Some of the values are very large when compared to others. I want to put more focus on the smaller values, while still showing the larger elements. The reason I ...
144 views

Drawing disk with coordinates from NDSolve

I have simple Manipulation expression, but continuously getting error Coordinate {x[0.], y[0.]} should be a pair of numbers, or a Scaled or Offset form. I assume that something is wrong with ...
116 views

Dynamic interaction with a 3D plot

I have a function: C = 0.0625 + 0.0008*X - 0.0232*Y - 0.0157*Z + 0.0059*X^2 + 0.0112*Y^2 + 0.0160*Z^2 - 0.0063*X*Y - 0.0243*X*Z + 0.0211*Y*Z This equation ...
132 views

How to make several DateListPlot have the same scale?

I want to plot some weather data series. Unfortunately the series were collected in different episodes, from which some overlap. I would like to plot them as different plots in a column, but with ...
160 views

QuantilePlot silliness

When I do a quantile plot of two large data sets (in my case, each of them of size around 3 million), the resulting notebook cell is huge, and if you save it as PDF, the resulting PDF is 13MB in size. ...
2k views

How can I obtain a smooth curve from my data but preserve two inversion points

I have a list of data points, {x, y}, my data. When I plot them, the curve is jagged. I want to smooth the curve and preserve the two sharp corners. This is a plot ...
429 views

3D Plot of The Riemann Zeta Function

I am a new user and i would appreciate your help to visualize the 3D of the following function. Edit I tried this ...
457 views

Contour plot with points and line together

I have drawn a contour plot like attached in the figure. Now, what I want is points along with the contour lines. For example: I have a data set like: ...
227 views

Epilog with text not shown

I use the Epilog option in order to print in the vertical axes a label between 0 and 20 as follows ...
212 views

How can I plot a transcendental equation with an arbitrary constant?

I want to find the solutions to $\sqrt{\frac{c^2}{x^2}-1}=-\cot(x)$ graphically. This is how I'm going about doing it: ...
170 views

Fill curve betwen specified abscissa points [duplicate]

I am plotting the Maxwell-Boltzman distribution of molecular speeds. I want to be able to select a region to integrate using a manipulate function. Then I want to have that same region filled in on ...
207 views

How to use the same PlotRange and the same PlotLabel size for a sequence of Graphics?

I wish to use ListAnimate to show a sequence of plots with different plot ranges and differently sized plot lables, all unknown in advance, in a way that keeps the ...
360 views

Spacing the elements in a bar chart with error bars

In the Add-Error-Bars-to-Charts-and-Plots How-To in the Mathematica documentation, a function ErrorBar is given: ...
176 views

Plotting extra parametric axes

We are trying to plot a figure as below from data points. This version is a postprocessed plot (in Illustrator) just to obtain the skew axes. The rest is plotted with ...
424 views

Poincare Section of an Hamiltonian

I'm in desire to plot the Poincare Section of a differential equation defined by a hamiltonian system. The hamiltonian is as follow: ...
230 views

Using mathematica to understand linear algebra

What is the reason why this does not work, as you can see there is three unknown and I want to see the planes. I have looked through the user manual but there is something that I am not realising! ...
88 views

Strange functioning of RegionPlot with Reduce's output

I have defined this two quantities: f = (-b + Sqrt[b^2 + 4 a])/(2 a) g = (-b - Sqrt[b^2 + 4 a])/(2 a) and I want to solve this system in function of $a$, for ...
464 views

Dataset seems unable to handle ListDensityPlot and ListContourPlot

If I create a Dataset: ...
86 views

114 views

Confused by behavior of ListLogPlot in Mathematica 10

I have a notebook I originally created in Mathematica 8, where the following (simplified) code worked fine. ...
115 views

Unexpected Behaviour at Plotting Floor with Plot [duplicate]

I wanted to plot a function involving Floor, here is my code: epsilon = 0.1; f[t_] = Floor[t/epsilon]; Plot[{f[t]}, {t, 0, 5}] ...
108 views

ParametricPlot: Can't use Ticks

So, basically I'm trying to plot the phase portrait of a 2x2 diff system, but the parameters are a pain. I'm trying to get a good picture of the orbits, but even if ...
191 views

Trying to get multiple curves on single Bode plot [closed]

OK, we have this thing where we are supposed to compare three Bode plots. All we have to do is plug in different resistance values on the RLC circuit and and talk about why the shapes are different. ...