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

learn more… | top users | synonyms (12)

-1
votes
1answer
114 views

How to get a 3D plot of from the the solutions of function [closed]

I have the following equation: (1 - x)^2 + T^2/((f[x] - L)*(f[x] - L - 2*T))*(P/(N-R+S)) == 0 f[x] = (x*r*(T + L) - T)/((x*r) - 1) ...
4
votes
2answers
121 views

Using Abs in MeshFunction gives incorrect results

Code: ...
0
votes
1answer
154 views

Plotting results of a NSolve problem

I am calculating, numerically, the zeros of a determinant. a1 and a2 are constants, q is a parameter. I would like to vary q and find the roots w as a function of q and plot roots w vs. q. All ...
0
votes
1answer
96 views

Having trouble displaying imported Excel regression data [closed]

The plot points and residual lines are not showing, hard-coded data works, and imported data does do something, just not what its supposed to Is the table or the plot range the wrong size? I can't ...
8
votes
1answer
253 views

Plot that draws a dashed/solid curve depending on the y-value of the curve

Kind of as an extension of this question: How to plot a series using different colors depending on the y-value Is there something similar to MeshFunction or ...
1
vote
1answer
139 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
509 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
477 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
131 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
234 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 this(...
2
votes
1answer
173 views

StreamPlot of a square-root - Issue

When I plot ...
3
votes
1answer
182 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 size,...
2
votes
1answer
185 views

StreamPlot segmented lines

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

Plotting an extremly large output

I'm trying to plot the solutions of this determinant: ...
1
vote
2answers
229 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
197 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
2
votes
0answers
199 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
votes
1answer
95 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
97 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
105 views

Methods for producting alternating TickLabels in a Plot?

I am producing a plot with alternating TickLabels. Here is a MWE: ...
2
votes
3answers
109 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
219 views
0
votes
2answers
595 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 ...
5
votes
5answers
388 views

Plot all curves in a table with a single color

I want all of my solutions in a table to be the same color. My attempt: ...
4
votes
1answer
725 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` ...
1
vote
0answers
175 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 ...
1
vote
0answers
108 views

Plotting the Schwarz D minimal surface

With the aid of the following paper I'm trying to plot the Schwarz D minimal surface: paper. So far I have followed all the instructions to the best of my abilities and have come up with the following ...
2
votes
1answer
77 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
337 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 ...
1
vote
3answers
423 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 NDSolve and Manipulate. Based on those, I ...
0
votes
0answers
26 views

AspectRatio on ListLinePlot only considering ticks and not values [duplicate]

I want to plot some data in a ListLinePlot where the x- and y-values differ by at least 2 orders of magnitude. In this plot the x- and y- axis should not be scaled differently. This is the result that ...
4
votes
1answer
135 views

3D plot of concave data set

I have the following data set ...
0
votes
1answer
93 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
117 views

Show function doesn't plot two graphics [duplicate]

I've got a following code snippet: ...
1
vote
2answers
271 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
1answer
170 views

Background of PlotMarkers [duplicate]

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 ...
0
votes
1answer
70 views

why RegionPlot has cut in ring when changing plot range?

I am not sure I understand this one, thought to check with the experts. Please compare ...
-1
votes
1answer
80 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 ...
8
votes
1answer
126 views

TransformedRegion, RegionPlot broken in 10.0.2.0?

After having had trouble applying TranslationTransform to a simple region like so ...
1
vote
1answer
165 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
235 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
190 views

Unknown option PlotJoined->True [closed]

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

calculate missing values, Interpolation

I've following data: ...
0
votes
1answer
187 views

How to sample only odd numbers in the domain of a table for list plot [closed]

The following code samples $k$ points around a circle at integer values starting from $0$: ListPlot[Table[{2 Sin[(2*y/x)*π*n] , 2 Cos[(2*y/x)*π*n}], {n, 0, k}] I ...
-1
votes
1answer
130 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
199 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
79 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 ...
2
votes
2answers
94 views

Strange behavior with Show command

I enter this: ...
17
votes
2answers
713 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 ...