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
0answers
19 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
34 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 ...
5
votes
2answers
200 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
22 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 ...
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, ...
0
votes
0answers
16 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
72 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 ...
4
votes
2answers
120 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
297 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
34 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
38 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
40 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
20 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
52 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
152 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
84 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
60 views

Plotting 3D data as a surface [on hold]

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
36 views

part of piecewise plot now showing [on hold]

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
49 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 ...
4
votes
1answer
140 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
85 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
50 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
72 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
57 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
117 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
69 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
108 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 ...
6
votes
2answers
2k views

How can I superimpose a set of points on a ContourPlot?

I am familiar with Mathematica to a certain extent, but its subtleties still elude me. Currently I am trying to solve the following problem: The function $f(x,y)$ is continuous. I know how to create ...
1
vote
0answers
52 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) ...
1
vote
0answers
129 views

Individual ColorFunction with RGBColor

I want to create a custom ColorFunction using RGBColor for my DensityPlot. A nice example is ...
4
votes
1answer
245 views

How does epilog position work in logplots?

I'm trying to use Epilog in my plots but the way that Epilog uses coordinate positions isn't making sense to me. As a minimal ...
1
vote
0answers
156 views

ColorFunction - custom colors and scaling

I am trying to specify my own colors and scaling for the ColorFunction in ListDensityPlot. I have several lists of 2D values ...
1
vote
1answer
228 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 ...
4
votes
2answers
103 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 ...
5
votes
0answers
106 views

How can I program my own financial indicator to be plotted in a TradingChart?

FinancialIndicator["ind", par1, par2, ...] represents a financial indicator "ind" with parameters $par1$, $par2$, etc. All available financial indicators can be ...
17
votes
3answers
410 views

How to implement the sample-point process like the built-ins of Mathematica?

Consider this: pts = {{0, 0}, {1, 1}, {2, -1}, {3, 0}, {4, -2}, {5, 1}}; f = BSplineFunction[pts] I can use ParametricPlot to ...
0
votes
0answers
38 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 ...
0
votes
3answers
290 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. ...
13
votes
0answers
215 views

More Ticks::ticks errors in AbsoluteOptions in v10

Bug introduced in 7.0 or earlier and persisting through 10.2 or later While the specific bug affecting Plot described in AbsoluteOptions prints error messages in ...
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 ...
0
votes
2answers
62 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? ...
4
votes
1answer
127 views

Finding and plotting roots with parameter

I have the following function: $$u(x,t)=\sum_{k=1}^\infty\frac{v_0 L}{\lambda_k c \sin\left(\lambda_k\right)}\sin\left(\frac{\lambda_kx}{L}\right)\sin\left(\frac{\lambda_kct}{L}\right)$$ and this ...
11
votes
1answer
215 views

Does InterpolationOrder cause conflicts with PlotMarkers in ListPlot?

Bug introduced in 7.0 or earlier and persisting through 10.2.0 or later My code: ...
1
vote
0answers
33 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
109 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 ...
-1
votes
0answers
24 views

How can I sketch a Plot using direction field? [closed]

I can't plot a graph of first order initial value problem using direction field
0
votes
0answers
80 views

how can I plot the Normalized histogram [closed]

I have a table of r and w. I want to chose a random w in the interval [0-1.6] and with interpolation find r relative to this w. For 1000 {W[r],r} I should plot the Histogram with Normalized factor ...
11
votes
4answers
271 views

How to make a ArrayPlot/MatrixPlot in polar coordinates?

in fact, I want to plot a image like: Fig1 the picture above is from a paper Zhou K.-J. et al. 2014 about ion up-flow of ionosphere in MATLAB there is a specialized function pcolor which could ...