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

learn more… | top users | synonyms (4)

0
votes
0answers
19 views

Methods for producting alternating TickLabels in a Plot?

I am producing a plot with alternating TickLabels. Here is a MWE: ...
10
votes
4answers
344 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
53 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
101 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
98 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
146 views

Overlay Graphics3D and ListPlot3D [on hold]

I have this two input for 3d graphics: A Graphics3D with a Polygon that represents a map A ...
45
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
250 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
25 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
56 views

LayeredGraphPlot Vertex Spacing

For anyone who has used LayeredGraphPlot, you have probably seen that the vertex spacing is consistent throughout, that vertices have the same minimum unit of ...
3
votes
1answer
87 views

3D plot of concave data set

I have the following data set ...
2
votes
1answer
55 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
324 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
51 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
55 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
54 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 ...
5
votes
4answers
765 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
100 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
45 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
92 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
31 views
1
vote
2answers
75 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
35 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
61 views

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

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 ...
41
votes
1answer
790 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
46 views

Unknown option PlotJoined->True [on hold]

I am learning Mathematica (10.0) and tried the following code: ...
0
votes
2answers
126 views

Mapping Contour Plot onto ListPlot3D (or by using color variations)

I am trying to overlay a contour plot I have created on a ListPlot3D graph. I have seen a few questions answered on this website that answer my basic question. However, the contour plot I need to ...
1
vote
2answers
70 views
1
vote
0answers
40 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
117 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 ...
0
votes
1answer
129 views

How to export figures with normal spacing in texts?

My OS is Ubuntu 14.04, and I use MMA 10. I export a figure ploted in MMA to a pdf file and then import the pdf in Latex, here is the sreenshot As you can see, the spacing in the text is odd. But ...
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
64 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
108 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 ...
1
vote
1answer
45 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 ...
6
votes
3answers
121 views

FontSize problematic when used in LabelStyle

Bug introduced in 9.0.0 and persisting through 10.0.2 or later Consider the following few examples, each producing a trivial graphic object: ...
2
votes
4answers
157 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. ...
5
votes
1answer
107 views

What are the arguments supplied to ColorFunction in MandelbrotSetPlot?

On the document of MandelbrotSetPlot, it said: With ColorFunction->f, where f is a function, the argument of f is a real number in proportional to the number of ...
2
votes
1answer
38 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
3answers
102 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
62 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
51 views
6
votes
0answers
69 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 ...
3
votes
2answers
67 views

Forward function arguments to built-in Plot[]

Suppose I need to write a function to plot the real and imaginary part of some function (just an example). I want to define a function foo so that ...
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. ...
0
votes
1answer
49 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
67 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, ...
6
votes
3answers
139 views

How to speed up the plotting of B-spline curve?

Three months ago, I asked a quesion about B-Spline basis function here, Today, I used this function to plot B-spline curve. The definition of $N_{i,p}$ ...