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
3answers
92 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: ...
1
vote
1answer
78 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: ...
0
votes
1answer
139 views

Plotting an extremly large output

I'm trying to plot the solutions of this determinant: ...
0
votes
2answers
83 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
101 views

StreamPlot segmented lines

I am plotting this vector field: ...
8
votes
3answers
182 views

Functional defined Ticks of LogLinearPlot does not work

Bug introduced in 10.0.0 and persisting through 10.0.2 or later version 10 $Version "10.0 for Microsoft Windows (64-bit) (June 29, 2014)" Consider three ...
3
votes
3answers
478 views

Defining a new Function using RegionPlot

I'm trying to make images like this: to illustrate 2D integrals to a calculus class. I used the code ...
4
votes
1answer
187 views

How to change the aspect ratio with drawing tool?

I'm drawing an image in editing an slide show with the drawing tools. But the aspect ratio of the created drawing seems fixed and not changeable with mouse dragging the border and corner as in other ...
3
votes
1answer
78 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 ...
1
vote
2answers
68 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
0answers
73 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: ...
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
0
votes
1answer
55 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
129 views

Custom Grid Lines for ProbabilityScalePlot

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

Increasing y-axis on plot as it appears it naturally truncates part of the plot [closed]

Changing the x-axis is fine and it will allow me to do so. When I want to change the y-axis (2D vertical), an error occurs. It appears as if the mathematica plot is missing some of the graph data. Is ...
6
votes
3answers
401 views

How to use PlotRange -> All with ListLogLinearPlot?

Bug introduced in 8.0 and fixed in 10.0.0 I would like to generate a ListLogLinearPlot that automatically shows all the data points. However the option ...
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: ...
11
votes
4answers
386 views

Cissoid of Diocles not smooth plotted by ContourPlot

Table[ContourPlot[y^2 (10-x)==x^3,{x,0,.1},{y,-.1,.1},PlotPoints->5],{k,1,150,10}] How to get the smooth graph? When ...
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
2answers
151 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` ...
46
votes
4answers
3k views

Plot draws list of curves in same color when not using Evaluate

This example comes from the Mathematica documentation for Plot under Basic Examples. Can someone please explain why these are each plotted as a different color in ...
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 ...
0
votes
0answers
35 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 ...
3
votes
1answer
94 views

3D plot of concave data set

I have the following data set ...
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 ...
22
votes
1answer
334 views

Visual representation of a Ranking over time (image provided)

[Disclaimer: I initially posted this question on stackOverflow 2 months ago and think it might be better suited for this forum (link to original question)] The graph below shows a ranking of ...
0
votes
3answers
73 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 ...
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 ...
6
votes
4answers
801 views

ParametricPlot and PlotLegends don't seem to cooperate

Bug introduced in 9.0.1 -- fixed in 10.0.0? I noted that only part of the legend shows up in ParametricPlot using v9's ...
3
votes
1answer
110 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 ...
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 ...
1
vote
1answer
99 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): ...
0
votes
1answer
40 views
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" ...
-1
votes
1answer
64 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 ...
43
votes
1answer
841 views

Is it possible to define a new PlotTheme?

In version 10 one can define, say, $PlotTheme = "Scientific" Which changes the appearance of all plots. This is fantastic because on the one hand I can have nice ...
1
vote
0answers
59 views

Unknown option PlotJoined->True [closed]

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

An Exclusion Question [duplicate]

I start with the following: sol = DSolve[{y'[t] == y[t]^2 - y[t], y[0] == c}, y[t], t]; y[t_, c_] := y[t] /. First[sol]; The output is: Solve::ifun: Inverse ...
3
votes
1answer
133 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 ...
15
votes
4answers
3k views

Getting the interpolation function from a list plot

I have conducted a chemistry experiment and obtained a list of concentrations of a reactant against time. I plot a graph of this using Mathematica's ListPlot ...
-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.
1
vote
1answer
120 views

Trace two DateListPlots?

I currently have two DateListPlots in the same graph, with two different y-axes. I downloaded the package "TwoAxisDateListPlot" to accomplish this with ease. Now I want to be able to trace both of the ...