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

learn more… | top users | synonyms (5)

0
votes
1answer
11 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 ...
11
votes
2answers
165 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
0answers
77 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
47 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
97 views

Shocks in a dynamic continuous time system

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

Variable ViewPoint coordinates

Can I use the option ViewPoint on Graphics3D[], with its setting a variable function? For example: ...
10
votes
1answer
697 views
1
vote
0answers
21 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
105 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
47 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
156 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}]; ...
1
vote
2answers
117 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
40 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
48 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
32 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
57 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
63 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
55 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
234 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
99 views

Are there more pre-existing ColorFunction options?

Such as "DarkRainbow", "Rainbow", "BlueGreenYellow", and ...
14
votes
3answers
1k views

On coloring the faces of a surface differently with parameter-dependent colors

Old versions of Mathematica ($VersionNumber < 6) supported a particular syntax of ParametricPlot3D[] that allowed for ...
2
votes
0answers
35 views

Does DynamicModule cure Problem with Manipulate?

Hopefully, this is a final cure for the Problem with Manipulate introduced on A problem with Manipulate and then continued on Continuation of a Problem with Manipulate. Michael E2 suggested on the ...
0
votes
1answer
72 views

Plotting ListLinePlots together creating a 3D view

I have a *.xlsx file containing four columns, each pair representing an x and y value, so ...
0
votes
2answers
45 views

Plotting a Forced Vibration Differential Equation [on hold]

I'm attempting to plot a differential equation solution but mathematica is giving me trouble. The plot is showing up blank. Here is what I have. ...
20
votes
5answers
3k views

Plotting several functions

I'd like to plot a function of one real and one integer variable, but I don't want them all shown in the same 2-D plot - I'd like to see them as separate curves so I can see both "axes", more like how ...
2
votes
1answer
73 views

Axis alignment identical to matlab plots

Mathematica uses in my opinion a weird concept of camera alignment. I would like to align the axes in Mathematica in the same way how Matlab does. For example, in the following picture you see a ...
3
votes
3answers
69 views

How can I customize the tooltips on a ContourPlot?

I have a contour plot and I would like to have finer control over the tooltips that are displayed. For the sake of argument, suppose that I have the following plot, ...
0
votes
0answers
44 views

Plotting function $f(t)=\sum _{N=1}^{\infty } \frac{e^{-N^2 t}}{N^2}$ [on hold]

A function is defined as: $$f(t)=\sum _{N=1}^{\infty } \frac{e^{-N^2 t}}{N^2}$$ I wanted to plot its graph (it should be a nice contiguous function for $t\ge 0$) I hoped that Mathematica will find ...
14
votes
2answers
227 views

Can Mathematica produce manipulatable 3D plots for deployment on the web?

I have a 3D plot I produced in Mathematica and I would like to share it with the world in a way that allows my audience to rotate it and interact with it in the broadest possible way. I would like ...
2
votes
2answers
84 views
7
votes
1answer
111 views

How can I make Plot show the plot while it's computing it?

Normally, Plot acts like a black box and only gives you the requested plot once it has finished computing it. However it can be useful, other than interesting, to ...
5
votes
3answers
271 views

How to find max difference with the same x between two functions?

For example, I have function TF[y_] = 2 / Pi * ArcSin[y] And I have CDF: ...
12
votes
6answers
482 views

An elegant way to plot a numeric function that returns a list, and have each element in a different color

I have a function that takes a numeric argument and returns a list of numbers. I want to plot each element of the list in a different color. If I use this command, ...
0
votes
1answer
68 views

Taylor series/expansion [on hold]

I want to make a second-order Taylor series expansion around point (x,y) = (1, Pi) of the function f(x,y)=x^2*Sin(xy/2) Plot inclusive
0
votes
1answer
53 views

Graphing a function with specified input domains

My goal is to plot the function $f(x)=x^2-2$ where $x$ is a positive rational. It seems Mathematica assumes one always wants to plot a function for real inputs (and correspondent restrictions on the ...
2
votes
1answer
54 views

How to hide and show graphics within Show[] function (in Manipulate wrapper)

There is a well documented way to "Dynamically Hide and Show Plots" (link). In the example 'Opacity' option is effectively used. Is there an efficient way to make the same functionality with "Show"? I ...
7
votes
2answers
348 views

Click in a vector plot to plot several solutions of a system of differential equations

I am aware of the Locator button and I am aware of the Equation Trekker package, but they are not what I want to use. Here is what I specifically want to know how to do, if possible. Consider the ...
8
votes
3answers
339 views

Plotting triple data points while xy data are not regular

I plotted recently some figures in Matlab and their quality was not that satisfactory, so I come to Mathematica as my supervisor suggested. This is how such figure looks like in Matlab: . In Matlab, ...
1
vote
0answers
61 views

Manipulate - 3 sliders for a list of 3 elements [on hold]

I'm trying to create a slider for a list of 3 elements. I know that I can create a 2D slider for a list of 2 elements and it's impossible to create a 3D slider for a list of 3 elements. So, I just ...