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

learn more… | top users | synonyms (5)

7
votes
4answers
505 views

Mark an 2d-area on a 3dPlot (ListPlot3d)

I have a list {(IC,s,FK)}, which I use to generate a 3d-plot with the help of the command ListPlot3D. ...
1
vote
1answer
209 views

Subset of edges with a different color

I want to color a subset of the edges of my graph with a different color. My graph currently has a large number of edges, so the following is just a toy example ...
3
votes
1answer
421 views

Create a colorbar plot legend

I have the following list of parametric equations lst = {10*Cos[u]*Sin[v], 3*Sin[u]*Sin[v], 2*Cos[v]}; I define the following color function ...
15
votes
2answers
258 views

Can A Plot Be Overlayed With A Map?

Some brief, only slightly important background. I am doing a research project using the data from NASA's GRACE mission. I wrote a short Perl script to take two data files and find the change in ...
4
votes
4answers
766 views

How to change color dynamically?

I am new to Mathematica and want to change the FillingStyle Dynamically in this Plot. I want ...
1
vote
1answer
68 views

A With and ContourPlot difficulty

Consider: sys = {u (1 - u + a v), r v (1 - v + b u)}; With[{a = 2, b = 3, r = 1}, Evaluate[Thread[sys == {0, 0}]]] Which gives the output: ...
1
vote
1answer
48 views

Arrowheads on parametric curves

I have the following animated parametric curve where the gap looks like it's rotating in the counterclockwise direction. ...
4
votes
2answers
86 views

Problem About TimelinePlot

I have some data from wikipedia. ...
0
votes
0answers
39 views

Showing Boolean combinations with ParametricPlot3D

If $ A,B $ are $ \mathbb R^2$ surfaces, Show[A,B] shows the union set, say as {A+B} or as ${A \cup}B $. How are differences {A-B}, {B-A} shown by a command? E.g., am curious about a cylinder ...
1
vote
2answers
93 views

Piecewise and Opacity

I have the following Plot : ...
1
vote
1answer
44 views

Label points the right way in a ContourPlot

I need desperately your help. I have the following code. My problem is that there is an error (you see it in the picture) and I can't find. Then Mathematica gives me for the global Min two wrong ...
3
votes
1answer
122 views

ParametricPlot3D of Boy's surface

I'm trying to visualize Boy's surface using Bryant's parametrization, as per the MathWorld article. However, I'm not sure I understand the parametrization, and I don't know how to implement it when ...
4
votes
1answer
91 views

StreamPlot slow in version 10

In version, 10 StreamPlot seems to calculate many more points along each streamline than necessary, compared to version 7. For example, from Mathematica ...
13
votes
0answers
104 views

Why is ListPlot so slow here?

While examining How can I monitor the progress of a Plot? I was surprised to discover that in some cases ListPlot in version 10.0 and 10.1 is orders of magnitude ...
1
vote
2answers
39 views

Avoiding overlap in rendering of GraphPlot

I'm trying to visualize some 'graphs' (i.e. the mathematical objects with nodes and edges) using GraphPlot[]. I am defining the nodes using objects such as ...
6
votes
3answers
3k views

Position of axes labels

I have a 2D parametric plot like the following: ...
5
votes
2answers
632 views

How to plot several functions without jumping? (multiple eigenvalues of a system as functions of 2 parameters)

I've been working on this research problem for months with some success by no global/proper solution to the problem. So I have square, Hermitian matrices of various sizes ($8,20,38$ dimensions) with ...
0
votes
0answers
47 views

DE: Plotting a functional

I have a function c given below: c = (2 C0)/(2 + Sum[(Δ - 2 Λ[k - 1]) (Q[k, t]/q[t]), {k, 1, n}]); Here the function ...
0
votes
0answers
36 views

Why does the degree symbol disrupt this FrameLabel?

This plot Plot[x, {x, 0, 1}, FrameLabel -> {"x", "temperature / \[Degree]C"}, Frame -> True] displays beautifully, but exporting to PDF ...
1
vote
1answer
53 views

RegionPlot3D Empty

I am attempting to cut out holes in a sphere, circumscribed around a regular tetrahedron. To do so I define some points (p1 through p4 are the vertices of a tetrahedron) ...
0
votes
0answers
17 views

Mathematica 10.0: how to manipulate a plot where a line comes from a system of equations without an explicit solution?

My goal: I am using Mathematica 10.0 to draw several graphs according to different values of a number of key parameters. The graph is made of two functions. Challenge: One of the functions is a ...
0
votes
1answer
47 views
4
votes
0answers
83 views

Synchrotron Radiation and ListDensityPlot

I'm trying to reproduce this plots: For this task i'm following this blog entry: Synchrotron radiation As you can see there, the task is to make a DensityPlot of a vector field essentially. This ...
0
votes
2answers
56 views

How can I plot the following set?

I have a question: How can I plot the following set $$G:=\{(x,y,z)\in\mathbb{R}^3|x^2+y^2\in[0,4],z\in[0,3]\}?$$ Thank you for your help!
0
votes
0answers
99 views

Shocks in a dynamic continuous time system

I have the following continuous time system ...
0
votes
1answer
56 views

Variable ViewPoint coordinates

Can I use the option ViewPoint on Graphics3D[], with its setting a variable function? For example: ...
10
votes
1answer
698 views
1
vote
0answers
24 views

How can I stop PlotRangePadding from cutting off points in a ListPlot?

When I perform a 2D plot and want to highlight specific spots in the plane, ListPlot seems like a good idea. However once I want to get rid of the padding, my points are getting cut off. This is ...
1
vote
1answer
106 views

Equation solution using minimization

I have an equation F[x,y]=0. I need to plot y as a function of x. Due to the properties of ...
1
vote
1answer
56 views

Transposing X and Y on a plot [duplicate]

This question has appeared in many forms online, but none directly apply to my problem. I have a quite complicated, albeit bijective function of the form ...
3
votes
2answers
160 views

scatter plot from two lists with barlegend

Lets say I have two lists listx = {}; Do[x = RandomReal[{0, 1}]; AppendTo[listx, x], {1000}]; listy = {}; Do[y = RandomReal[{0, 10}]; AppendTo[listy, y], {1000}]; ...
2
votes
2answers
134 views

How can I monitor the progress of a Plot?

The answer in How to monitor the progress of a plot is not useful in my case. I am using ...
4
votes
1answer
41 views

GridLines in TimelinePlot do not export to EPS

The below TimelinePlot produces the proper figure within a Mathematica session, but when that figure is exported as an .eps figure (to be used in a $\LaTeX$ ...
0
votes
2answers
55 views

Plotting direction fields along with trajectories

I am reading "Dynamics and Bifurcations" by Hale and Kocac, and in chapter one the following diagram is shown: Question is, how can I achieve the same plot using Mathematica? I've tried ...
1
vote
1answer
41 views

plot filling using blend and y value

I want to plot say Sin(x) with colorfilling. but I want the colour to be a gradient between white and red. When Abs[sin(x)] is maximum I want white, when its minimum I want the filling to be red. In ...
0
votes
0answers
34 views

DateListPlot not showing any ticks

With a vector dates (in DateList format), and a vector data that has the same length as ...
1
vote
1answer
58 views

Switching to CloudObject`Private`

I shut Mathematica done, then restart it. The image shows all that I do. I have done nothing else. Can anyone explain what is happening to me? The complete code is: ...
1
vote
2answers
64 views

Plotting NIntegrate

Plot[E^(-0.5 x) NIntegrate[Cos[t] E^(Cos[t] + 0.5 t), {t, 0, x}], {x, 0, 40}] Mathematica evaluates this integral for each point, which takes a long time. It is ...
1
vote
2answers
212 views
0
votes
0answers
37 views

All contours aren't shown in ListContourPlot

I want to plot the contours of a data set which when plotting in 3D looks like this: When I plot the contours as ...
8
votes
3answers
547 views

What is wrong with my expression for compiling?

Following code was translated from a snippet matlab code. Without compiling it worked slowly. I want to compile it, but am getting a numerical error. How do I compile this in a correct way? ...
2
votes
2answers
435 views

Plotting several numerical solutions plus the analytic solution of ODE in one plot

I want to be able to plot several numerical solutions of an ODE, plus its analytical solution in one plot, in order to see how the numerical solutions converge towards the analytical one with respect ...
0
votes
1answer
191 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 ...
1
vote
2answers
77 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 ...
2
votes
1answer
56 views

How to change the direction of increasing x in a plot [duplicate]

Consider the data set data = Table[{10^-k, 10^(-2 k)}, {k, 5}] and the plot: ListLogLogPlot[data] My goal is to reverse ...
0
votes
3answers
235 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. ...
4
votes
1answer
102 views

Are there more pre-existing ColorFunction options?

Such as "DarkRainbow", "Rainbow", "BlueGreenYellow", and ...