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

learn more… | top users | synonyms (4)

1
vote
1answer
77 views

MatrixPlot Styling

I like to build a colour sequence from a list. Each value has a corresponding colour. I used MatrixPlot to do that. I have two question concerning MatrixPlot styling. Code: ...
1
vote
3answers
138 views

Sketch a cone and its base

A cone is the union of a set of half-lines that start at a common apex point and go through a base which can be any parametric curve. Show that the graph of z = ( x ^2 + 4y ^2)^(1/2) is a cone. What ...
1
vote
3answers
89 views

How to plot a histogram given a set of frequencies for data values?

I have generated many random variables within a specific function, and have counted them up. So far, I have counted the variables: ...
2
votes
2answers
113 views

ContourPlot of Or expression [closed]

How can I get the following to produce a plot of the two circles? ContourPlot[Or[x^2 + y^2 == 1, x^2 + y^2 == 1/4], {x, -1, 1}, {y, -1, 1}]
0
votes
2answers
80 views

Why won't this graph? [closed]

I'm trying to sketch level curve for z=k for the specified values of k={-2,-1,2} of z= 4x^2 - 4x + y^2 + 2y So I changed ...
2
votes
1answer
88 views

StreamPlot of a square-root - Issue

When I plot ...
3
votes
1answer
77 views

Automatically zoom-out on ListPlot?

Mathematica chooses the PlotRange for a ListPlot such that the lowest x-value lies on the y-axis and vice versa. Because of this these points often are difficult to find. I could increase the dot ...
2
votes
1answer
98 views

StreamPlot segmented lines

I am plotting this vector field: ...
0
votes
1answer
139 views

Plotting an extremly large output

I'm trying to plot the solutions of this determinant: ...
1
vote
2answers
67 views

Using Placed with Show - the simplest solution to move the legend around?

Please let me know if this is a duplicate. There are some solutions, but I think there must be something simpler for this kind of situation. ...
1
vote
1answer
59 views

How do you graph the confidence intervals that results from a GARCH over a time series?

Please, does someone know how to draw a confidence intervals (from the results of a GARCH (1,1)) in a way similar to these: *Asume an ARMA(1,1) fit the time series. Thank you very much
1
vote
0answers
72 views

How can I model the volatility, using a GARCH(1,1), of a time series of returns (and plot it) using Mathematica?

I know that if I use this code: tsm = TimeSeriesModelFit[ret, {"GARCH", {1, 1}}]; I can get the parameters using this: ...
0
votes
1answer
54 views

Third-order ODE with NDSolve

I would like to use NDSolve to draw the integral curve of a third-order ODE ...
2
votes
3answers
82 views

Efficiently plotting a function with its translates?

How does one efficiently produce a plot of {f[x], f[x]+1}? Assume that f[x] is a long computation, which I would like to avoid ...
2
votes
1answer
91 views

Methods for producting alternating TickLabels in a Plot?

I am producing a plot with alternating TickLabels. Here is a MWE: ...
2
votes
3answers
68 views

Mathematica Contour Plot Problem [duplicate]

When I type ContourPlot[x == Sin[6*Pi*y], {x, -1, 1}, {y, -2, 2}] I get this Now I'm not a particularly gifted mathematician, but I have a feeling this just ...
0
votes
1answer
99 views
0
votes
2answers
139 views

Plotting energy dispersion on a hexagonal Brillouin zone

I'm trying to plot the energy dispersion of a graphene similar material. I've used the Tight Binding Function Approximation considering first neighbours and no overlaping. I have this 2 expressions of ...
1
vote
1answer
115 views

PlotLegends is obsolete in v10?

I am using Mathematica 10.0.2.0 on a Mac OS X (Yosemite v. 10.10.1, 64bit). After I call: Needs["PlotLegends`"] I get the info: General::obspkg: PlotLegends` ...
0
votes
0answers
34 views

ListDensityPlot seems to break down for large arrays

(Using Mathematica 10) When using ListDensityPlot to plot 40000 + data points, the produced plot seems to be blurred/incorrect for points occurring later in the list. For instance, in the following ...
2
votes
1answer
62 views

Writing a procedure that invokes Manipulate[]

I would like to write a procedure with the signature: Foo[vars, params] which produces a Manipulate object. The procedure ...
2
votes
1answer
223 views

LayeredGraphPlot Vertex Spacing / Edge Length

For anyone who has used LayeredGraphPlot (Mma v9), you have probably seen that the vertex spacing is consistent throughout, that vertices have the same minimum unit ...
0
votes
3answers
72 views

Trouble using Manipulate and NDsolve for coupled ODE's

I'm aware that there are a few threads on the topic of solving coupled ODEs using NSolve and Manipulate. Based on those, I wrote the following code, solving my system of equations: ...
-1
votes
0answers
60 views

Plotting RandomVariates

I have simulated 10000 random variates from a copula distribution. I would like to plot them on a graph. How would I do this for a) If the random vector is 2 dimensional (so one on x-axis and one on ...
3
votes
1answer
93 views

3D plot of concave data set

I have the following data set ...
0
votes
1answer
49 views

Showing Legend in Wolfram Mathematica

The code below displays a histogram of the data and superimposes plots of five Weibull distributions for comparison. I have assigned colors to each Weibull curve in the distribution plots. How can I ...
0
votes
1answer
37 views

Show function doesn't plot two graphics [duplicate]

I've got a following code snippet: ...
1
vote
2answers
102 views

How do I remove the quotation marks from each element of a list containing dates that I have import from excel?

I've been stuck in this problem for 1 week. I just want to make a graph (Log-Return vs time (in year, month, day)). The code is: ...
0
votes
0answers
39 views

Plotting a function with multiple colors, without modifying ColorFunction

I have a function $f$ and a set $U$, and I would like to plot $f$ with a different color on and off $U$. At the moment, I am using a ColorFunction with an "if" ...
0
votes
0answers
58 views

Background of PlotMarkers

I use the StandardReport style sheet in my notebooks, but I would like to export plots without any backgrounds. Apparently, there isn't a global option to change the background on a plot, so I change ...
-1
votes
1answer
63 views

My code of plotting a two-variable function is too slow [closed]

I have a code in which my complicated function to be plotted is F(x,p). I would like to graph it for 5 values of p equal to 10^7, 10^8, 10^9, 10^10 and 10^11 for x values between 0.01 and 0.99. All ...
1
vote
1answer
98 views

No legends in parametric plot

plotting some descibing functions, I wondered why I don't get any legends in my plot. The describing functions (and options): ...
3
votes
1answer
108 views

Checkerboard background on plot (potentially using prolog)?

Currently I have a plot of a complicated function with gridlines turned on. Is there a way to shade a checkerboard pattern of alternating colors between adjacent grid cells? So far, I have tried ...
1
vote
0answers
59 views

Unknown option PlotJoined->True [closed]

I am learning Mathematica (10.0) and tried the following code: ...
1
vote
2answers
80 views

calculate missing values, Interpolation

I've following data: ...
-1
votes
1answer
68 views

Append plot to existing plot?

I have generated a plot from t=0->1, and I wish to append another plot from t=1->2. How can I do this? Thanks in advance.
3
votes
1answer
132 views

Keeping Font Relative Size to Object/Graphics/Plot Object upon Resize

I want to keep the text generated within a graph/plot to remain the same relative to an element (a disk of size 0.2) of the image upon resize, not the image itself, while maintaining the original ...
1
vote
1answer
51 views

Possible to dynamically redraw single plot of multiple shown together?

I am attempting to create a tool to visualize gradient, eigenvector, and eigenvalue information for a 2D surface. I want to show a contour plot of an inputted function and overlay the gradient and ...
9
votes
2answers
277 views

Using map projections with astronomical data

I noticed that all important "Geoprojections" are available in projections for a spherical reference models: GeoProjectionData function; 1 - I am trying using the sinusoidal projection for ...
2
votes
1answer
45 views

Epilog does not work as expected with Show [duplicate]

I was trying to answer this question (here) and I found that I can't use Epilog with Show. consider this Example: ...
2
votes
4answers
167 views

PlotRange, polar plots and labelling

I have a dataset (of DNA reads corresponding to the human mitochondrial DNA) which I want to plot on a polar plot, with the distance corresponding to the G-C percentage of the DNA in that segment. ...
0
votes
1answer
103 views

Export graphic as Pdf gives incorrect font size [duplicate]

In Mathematica 10.0.2 I have this plot: Now, when I export as pdf, I have these huge fonts. Any workaround?
0
votes
1answer
56 views

Correcting a gap in ListPlot

This is a small sample of my data ...
6
votes
0answers
72 views

ListPlot3D. Only plots about half of the data in a 3D matrix

Here is the data and the exact command I'm trying to run. I've had success with other datasets generated and written out to a file by the exact same program in the exact same manner but for some ...
0
votes
0answers
28 views

ErrorBarFunction styles [duplicate]

I am having trouble making sense of the help I have found for the ErrorBarFunction command. I am looking for basic instructions on how to change the width, style, and color of my error bars. ...
2
votes
3answers
128 views

Custom Grid Lines for ProbabilityScalePlot

I'm plotting up some data using a ProbabilityScalePlot in Mathematica 8. It currently looks like so: Code: ...
0
votes
1answer
53 views

Why does `Table` returns values but `Plot` doesn't plot them?

The Table function works fine and return a nice list of values ...
0
votes
2answers
75 views

How to contourplot a function defined via findroot? [duplicate]

when I use contourplot, the system will simplify the expression first with its parameters holded. However some expressions can not be simplified first without inputting parameters, for example, ...