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
18 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 ...
1
vote
1answer
35 views

Map inside LogLinearPlot with legends and different colors

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 ...
3
votes
2answers
46 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
54 views

Plotting PV isotherms followig the Redlich Kwong equation of state

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 ...
2
votes
0answers
35 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 ...
0
votes
0answers
40 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 ...
0
votes
1answer
51 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
24 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. ...
2
votes
1answer
53 views

Plot using a list of variables

I have the following code: ...
7
votes
2answers
132 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 ...
0
votes
1answer
95 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 ...
3
votes
1answer
51 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 ...
3
votes
1answer
88 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
56 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 ...
5
votes
2answers
105 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 ...
2
votes
1answer
54 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
326 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
24 views

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

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 ...
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 ...
0
votes
1answer
38 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 ...
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. ...
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 ...
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 ...
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 ...
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 ...
2
votes
1answer
87 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 ...
1
vote
1answer
52 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 ...
7
votes
2answers
308 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, ...
5
votes
1answer
151 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: ...
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 ...
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"]
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 ...
1
vote
0answers
54 views

Odd plotting/math issue (could be a precision problem)

I've got a pretty odd error on a project I'm working on and was hoping to enlist some advice to fix it. The goal of this notebook is to show that I can eliminate the non-normalizable (blowing up part) ...
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 ...
0
votes
0answers
39 views

How to plot multiple numeric ODE solutions in phase space [on hold]

I have a system of four coupled ODEs whose solution (and solution process) are sensitive to the value of a parameter $a$. $$\bar X '(t)=\bar F(\bar X, t, a)$$ If possible, I would like to create a ...
4
votes
2answers
104 views

How to plot the ranges of the variables of an iterated integral?

I would like to plot the volume of the following integral: $$\int _{-1}^1\int _0^{\sqrt{1-y^2}}\int _{x^2+y^2}^{\sqrt{x^2+y^2}}\left(xyz\right)dzdxdy$$ Here are the ranges of the variables from this ...
2
votes
0answers
111 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 ...
2
votes
2answers
155 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 ...
0
votes
2answers
66 views

Adding ticks to PolarPlot [closed]

I want to add some number ticks to a unit circle in PolarPlot like the one attached, but how can I do it? ...
2
votes
2answers
110 views

Show and hide various pieces of information in a Manipulate

I wanted to change the visibility of a function and its additional informations within a plot through the help of a checkbox, as shown in that post: Toggle visibility of elements in a plot But ...
1
vote
0answers
34 views

Formatting the output of SubstitutionSystem to create a Cantor set [closed]

I want to create a Cantor set using SubstitutionSystem, and plot it appropriately. This is the best I've been able to do so far: ...
3
votes
2answers
110 views

Plotting a simple graph with more than 1 variables

Here's what I did: Plot[(Q E^(-(x^2/(4 t))))/(2 Sqrt[π t]), {x, 0, 10}] I want only x to vary. But Mathematica is giving me a blank plot. It's very strange. I ...
0
votes
2answers
54 views

How to use the {{ lhs == rhs, ineqs }, … } form of Exclusions?

I am trying to make use of this option: To plot the principal portion of Tan: ...
1
vote
0answers
47 views

Plotting roots for a singular numerically-only integrable equation

In my problem I need to plot roots with respect to a parameter. But the condition for root is det(Function)=0. This function cannot be solved symbolically. So I need to put in a parameter value and ...
1
vote
0answers
29 views

How to plot market share data in standard form [duplicate]

I am trying to accomolish exactly this (not related to market but with exactly same representation): Is there any special function in mathematica to do these types of plots? Or how would you ...
8
votes
2answers
168 views

Problem With Mesh on 2D Plot

How to make the mesh color on 2D plot automatically same with the plot color? The code below doesn't work and produces "Automatic is not a graphics directive" error message. ...
0
votes
0answers
44 views

How to customize an animation [duplicate]

I want to create an animation regarding the restricted three-body problem for the Earth-Moon system. The code is as follows ...