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

learn more… | top users | synonyms (6)

1
vote
1answer
30 views

StreamPlot use fixed integration time to determine final path length, not fixed path length

I'm plotting velocity fields for fluid flow, and my call to Streamplot looks something like this: ...
1
vote
1answer
48 views
7
votes
4answers
159 views

Superimposing ListContourPlots on each other

I have two ListContorPlots that I would like to plot on top of each other for easy visualization. I tried using Overlay for ...
2
votes
1answer
50 views

Map inside LogLinearPlot with legends and different colors [on hold]

I have been trying to use Plot with a nested map to make plots of a numerically integrated function with different argument parameters, and after some searching I have finally got that sorted. My MWE ...
1
vote
1answer
50 views

Plotting multiple instances of a function defined with NIntegrate

I have a function that involves an NIntegrate, for example something like this: f[x_, z_] := NIntegrate[z*x*y^2, {y, 0, x}]; I want to plot this function for a ...
3
votes
2answers
66 views

Interactive ListPlot by mouse clicking

Say I have a list of 2-tuples that is visualized by ListPlot. Each 2-tuple is also associated with another graph. Now what I want to realize is to display the ...
0
votes
0answers
63 views

Plotting PV isotherms followig the Redlich Kwong equation of state [on hold]

I am attempting to plot the $PV$ isotherms for 1 mole of neon from 4-1000K assuming the equations of state Redlich Kwong. I do get a graph but it looks more like the graph for ideal gas instead of ...
1
vote
1answer
106 views

LogPlot hangs but Plot does not

This is a bit involved example, but I have not been able to reproduce it in more simple cases. ...
0
votes
0answers
43 views

Problem with 3D plots window crashed

My mathematica7 window in fedora21 crashed when 3d plots are rotated without any warning message. I checked webpages for any solutions and found one answer. I followed it typing mathematica -mesa ...
2
votes
0answers
36 views

ListPlot3D: generating mesh lines at hard-coded locations

I am plotting a surface specified with a set of {x,y,z} coordinates with ListPlot3D. This data set surface does not extend ...
3
votes
1answer
54 views

NDSolve: obtain time difference when different solutions get same distance to equilibrium value

I have a numerically solved a differential equation which has an equilibrium value and a starting point, both included as a parameter. I want to plot the difference between the times it takes to come ...
0
votes
1answer
97 views

Using Plot and Piecewise to graph a roller coaster

I am graphing a roller coaster using Piecewise and Plot commands on Mathematica. I have the first 2 Piecewise functions and would like to add a loop to the end of it. Here is my initial graph: This ...
0
votes
1answer
56 views

Problem with mathematica plot 3d [on hold]

u[x_, t_] := (x - t)*e^(-(x - t)^2) u[x, t] Plot3D[u[x, t], {x, 0, 5}, {t, 0, 5}, AxesLabel -> {x, t, u}] I get an error Plot3D::exclul: {Im[e]-0} must be a ...
0
votes
0answers
25 views

Problem with mathematica code [duplicate]

Plot3D[u[x, t], {x, 0, 5}, {t, 0, 5}, AxesLabel -> {x, t, u}] I get an error Plot3D::exclul: {Im[e]-0} must be a list of equalities or real-valued functions. ...
7
votes
2answers
134 views

ListLinePlot Filling Wrong

Bug introduced in 8.0 or earlier and persisting through 10.2 or later. I used ListLinePlot to plot data from .csv files. However, the y-values from Graph 1 do ...
2
votes
1answer
57 views

Plot using a list of variables

I have the following code: ...
5
votes
2answers
108 views

Techniques to find all local minima of black box function with n continuous derivatives?

I have a blackbox function f on [a,b] that is known to be continuous, and has n continuous derivatives. The function uses polynomial interpolations (but isn't a polynomial interpolation itself), so no ...
1
vote
1answer
74 views

Same scale for all the axes in Plot3D

I can't find this in the documentation. How do you force the same scale for all the axes when making a 3D plot? There is the BoxRatios option, but this only changes ...
0
votes
1answer
298 views

Change size of a saved plot or image (post-processing)

I have many plots (that take a long time to run) and each is saved to a variable name. For simplicity, say one was: ...
3
votes
1answer
92 views

DensityPlot: giving the same color to a range of values

The following command DensityPlot[x y, {x, -3, 3}, {y, -3, 3}, PlotLegends -> Automatic, ColorFunction -> {"Rainbow"}, PlotRange -> {{-3, 3}, {-3, 3}}] ...
0
votes
1answer
58 views

ParametricPlot and Piecewise function

I want to create a ParametricPlot with multiple Piecewise functions in it. I have tried the following code but it doesn't work ...
0
votes
0answers
62 views

Need to plot binomial distribution probabilty function [on hold]

I am incredibly new to using Mathematica, and struggling to learn it as I have very little experience with any sort of software more complicated than excel, so I am very sorry if this is a stupid ...
2
votes
1answer
56 views

2D plot using output from the other function

I would like to get 2D plot using output from the other function. FindInstance[0.5*x^2 + Cos[y + P] == 1, {x, y}, Reals] By changing values of P manually it gives ...
8
votes
2answers
328 views

n-dimensional plot

I want to plot 6-dimensional data using parallel axes (https://en.wikipedia.org/wiki/Parallel_coordinates). The list looks like this: ...
-1
votes
0answers
27 views

Removing slider in Manipulate to render full output visible on display [closed]

It is now possible to Manipulate a single dependent variable as a function of two independent variables, but output graphed line is displayed for one variable only at a time by default when slider ...
5
votes
2answers
216 views

Labels strangely rendered in PDF

I'm new to Mathematica so I apologize if this is obvious to answer. Anyway, using the following code (most of it is extraneous, to make the plot look the way I want) I plotted the Morse potential, ...
1
vote
0answers
17 views

InteractiveTradingChart not working inside Dynamic

I would like to have an interactive trading chart that updates by changing the input stock. But anytime a dynamic is wrapped around the function, it doesn't manage to initialize. Is there any way to ...
1
vote
1answer
78 views

How to create a vertical (smooth) Histogram on the y-axis of a function graph for an uncertain x?

This is my first time posting a question in StackExchange. I have encountered a certain problem and I can't seem too find a solution. Just a word of caution, I am kind of an amateur when it comes to ...
5
votes
2answers
123 views

Different results with Plot option “Evaluated” in V9 and V10

Consider this example: Plot[Table[BesselJ[n, x], {n, 2}], {x, 0, 10}, PlotLegends -> {"n=1", "n=2"}, Evaluated -> True] The results in MMA v9 & V10 ...
7
votes
2answers
309 views

Creating “detached” plots

Is it possible to create detached interactive plots in Mathematica like those in Matlab, Jupyter (IPython), rather than inline ones? This is interactive GIF from Rodeo IDE for Python as an example, ...
0
votes
1answer
39 views

Plot data with x and y ErrorBars from file [duplicate]

If I have a set of data like this one saved in a dat file ...
0
votes
0answers
43 views

Fill the gap between two consecutive sphere with different colors [duplicate]

I wanted to shows the radial density (thickness 1) with different color such that dark color shows for lower radius and light color for higher radius. The gap between concentric sphere should be ...
1
vote
2answers
45 views

DiscretePlot3D: Part specification is neither a machine-sized integer nor a list of machine-sized integers

I want to plot a 3D histogram of a matrix and I am using this line: DiscretePlot3D[lmat[[x, y]], {x, 1, 3}, {y, 1, 3}, ExtentSize -> Full] where ...
0
votes
0answers
21 views

Limit Plot range to infinitely thin region [duplicate]

I want to plot a function only in a specific infinitely thin region, like e. g. ...
2
votes
1answer
54 views

DateListPlot incorrect time zone

I'm trying to plot energy usage over time using datelistplot but the time zone on the ticks is wrong, data for 7pm shows as 3am The code: ...
2
votes
2answers
156 views

Can not generate graph using smooth kernel distribution

I am a newbie to Mathematica so this question might looks silly. I want to generate a smooth kernel distribution graph for this set of data. The data I uploaded has two columns, the first column is ...
1
vote
0answers
92 views

Is it possible to have more than two vertical axis in Mathematica 2D plots? [duplicate]

Is it possible to have more than two vertical axis in Mathematica 2D plots? This is possible for example in matplotlib (plotting library for Python): ...
2
votes
1answer
89 views

What Method values are available for Plot?

The Documentation Center article on Plot notes under Details and Options that Method is one of the options for ...
0
votes
0answers
62 views

Plotting 3D data as a surface [closed]

I am having a problem plotting some data in a 3dimensional surface. These data are distributed like a surface. And I would like to plot them joining them all as a surface. The data are in the form ...
0
votes
0answers
37 views

part of piecewise plot now showing [closed]

I solve two system of differential equations and plot the solutions separately just fine. Then i want to join the two graphs into one by using a piecewise function. The issue i'm having is only one of ...
1
vote
1answer
53 views

Display coordinates of pointing device in VectorPlot

I want to show the coordinates of the (mouse) pointing device as I move the pointing device over the VectorPlot without a (right or left) click. I have tried ToolTip and MousePosition but I cannot get ...
0
votes
1answer
78 views

How to let Mathematica ignore complex values in Plot functions?

Consider the polar coordinates function of a circle centered at $(2,0)$ with a radius of $\sqrt 2$: $$\rho(\theta)=\left\{\quad \begin{array}{c} 2 \cos \theta +\sqrt{2-4 \sin ^2\theta} \\ 2 \cos ...
5
votes
1answer
152 views

How to show the projections of 3D orbit on the three primary planes

Perhaps this question has been asked before but even though I searched the site I did not find what I want. The code is rather simple: ...
3
votes
1answer
87 views

Range of summation in simple Plot seems off

I was trying to reproduce a picture in a book by Havil of the sum, $$s = \sum_{r=1}^{\infty}\frac{\mu(r)}{r}\left(Li(x^{\rho_k/r})+Li(x^{\rho_k*/r})\right) $$ using ...
1
vote
1answer
52 views

Using PlotLabel with ParametricPlot

I cannot get the label to appear on this vertical line! (Mma 9.0.1 OS 10.8) ParametricPlot[{.5, t}, {t, 0, .5}, PlotStyle -> Blue, PlotLabel -> "z"]
1
vote
0answers
73 views

ErrorListPlot Not Plotting

I'm trying to use ErrorListPlot on Mathematica 6.0 (it's the copy my school gave me for a lab course). When I run this function it produces a graph, but there is ...
3
votes
0answers
60 views

Refining a density plot of the Eisenstein series argument

Thanks to amazing code from "Guess who it is" here: Eisenstein Series in Mathematica? I'm able to make some nice plots using Eisenstein Series. What I'd like is a color plot of the argument of certain ...
2
votes
1answer
120 views

trajectory density plot

I want to make a plot that shows the density of trajectories (x-y plots). In other words I want a plot that's analogous to this but with curves instead of points as data. Here's what I'm doing ...
4
votes
1answer
70 views

Two axis on a BarChart

I want to create a BarChart with two different y-axis, one on the left and another one on the right. For that, I did two different ...
2
votes
0answers
113 views

Intersecting RegionPlots

Does the Mathematica graphics system have any concept of intersecting regionplots? I've found about intersecting graphics but not regionplots so far. For example, if I want to show the intersection of ...