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

learn more… | top users | synonyms (8)

7
votes
2answers
133 views

Panning with Mouse + Moving A Curve

I would like to be able to move any curve (for example f(x)=x, or g(x)=x^2) by mouse dragging the particular curve. I would like to keep the functionality I have for panning across the screen in ...
0
votes
1answer
83 views

Solution of differential equation using other differential equation

I have a differential equation $y'(t)+2a\sqrt{e+y(t)+1}=h-2a$ where $e,h$ and $a$ are constants with the terminal condition $y(T)=0$; $T$ may be 10 or 12... etc. And $x'(t)+(a/\sqrt{e+y(t)+1}) ...
3
votes
1answer
65 views

Is the real spherical harmonic (l = 1, m = 0) really 'bigger' than (l = 1, m = 1)?

Using SphericalPlot3D to plot the real spherical harmonic with l = 1 and m = 0: ...
1
vote
0answers
43 views

Why isn't Options[] finding all options? [closed]

I've created a plot with 3 non default options. See below. I would like to list these options using the Option[] function. When calling Options on the the plot, ...
10
votes
4answers
357 views

Panning with Mouse

This is related to the question i just asked here but not the same. How could i create a manipulate that lets me move the graph to any position i want by clicking and dragging anywhere. Here is an ...
3
votes
2answers
83 views

Plotting a DateListPlot and a CandleStickChart together

I'm trying to plot a DateListPlot and a CandleStickChart together. Initially I was trying to add a FinancialIndicator by spelunking TradingChart, but it's quite complex, I think I could manage to do ...
1
vote
2answers
94 views

Epilog doesn't work with ListLogPlot

We have data series: ...
0
votes
1answer
78 views

Solving an equation and ODE simultaneously [closed]

I have a differential equation like $y'+a*y+b=0$. I have to find the value of $u=c*y+d$. These are the simplified form of the ODE and equation. Also, I have to plot $y$ and $u$ together.
6
votes
2answers
175 views

Dynamic plot with synchronization of real time

I want to do a dynamic plot with synchronization of real time, that is, I have a function, f[t], that is a function of time (seconds), so I want to see the curve changing not so fast or not so slow, ...
7
votes
2answers
190 views

Panning by moving Origin (0,0) with Mouse

Given a 10 by 10 grid like the one below and the axis origin somewhere on the grid, I would like to be able to place the mouse pointer at the axes origin (0,0), then press and hold the mouse button ...
4
votes
3answers
124 views

How do I plot EventSeries?

The documentation that I can find suggests that I should be able to plot an EventSeries with DateListPlot. But this doesn't work ...
4
votes
2answers
69 views

putting two lists in one ListLogPlot by one modified list

I imported two sets data one: ...
4
votes
1answer
77 views

Joined line does not match with PlotStyle

If I have a list data (http://pastebin.com/RgWLJmTS) which is about to be plotted with ...
1
vote
1answer
72 views

Joined-True cuts data to be plotted

I have imported data (which are so many numbers and if necessary please see http://pastebin.com/RgWLJmTS) and I plotted them with ...
3
votes
1answer
76 views

SmoothHistogram3D with a ColorFunction representing z-values of the data set

I'd like to make a 3d plot of a list of {x, y, z} points, where the height of the plot scales with the density (as in histogram) of the xy-values and the color ...
10
votes
4answers
494 views

Revolution of Koch Snowflake

How to plot shape which made from revolution of the Koch Snowflake? I try to use $RevolutionPlot3D[f,\lbrace {t,t_1} \rbrace]$, but I think there is no $f$ for Koch Snowflake. Sorry for my ...
5
votes
4answers
138 views

How to correct the name of axis?

In the output of a code I can view that the same axe has two names "z" and "x". How could I correct this? The code is ...
3
votes
2answers
123 views

Changing location and direction of axes

I need to produce a plot that looks something like this: from a function definition where z (the vertical axis) is the independent variable. I can easily invert ...
0
votes
1answer
83 views

Manipulate a graph from data

I want to manipulate some data, to do this i create a graph. But i don´t know how to manipulate the data. ...
3
votes
2answers
93 views

ListPlot: Adding Line with Epilog to automatic GridLines - adjusting Style

I want to draw ListPlots with automatic GridLines and add a custom line. My solution is to use the Epilog option. To make sure that the automatic GridLines and my custom line have the same style, I ...
5
votes
1answer
228 views

How to plot graphics objects such as lines or polygons logarithmically

I am making ListLogLog plots with polygons in the Prolog and lines in the Epilog, and I want ...
3
votes
1answer
101 views

Why is TimeSeriesForecast linear?

When I use FinancialData with TimeSeriesForecast, the resulting graph is always linear and thus not very accurate. ...
1
vote
0answers
47 views

How to fix the error InterpolatingPolynomial::ipdup: The abscissas are not distinct

I'm trying to plot the function Abs[InterpolatingPolynomial[..] - f[x]] where f is a function. I receive the error: InterpolatingPolynomial::ipdup: The ...
1
vote
1answer
59 views

Plotting a horizontal parabola using Plot[ ] with one function [closed]

I understand plotting a horizontal parabola using this: Plot[{Sqrt[x], -Sqrt[x]},{x, -10, 10}] but I don't understand how to plot the same curve using $x=y^2$. ...
4
votes
1answer
65 views

Adding line parallel to quantile plot reference line

I want to compare two list in a quantile plot QuantilePlot[{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}] I now want to add a black line parallel to the reference line, like ...
1
vote
0answers
50 views

How to align/grid several plots(mXn) in one figure? [duplicate]

I run Mathematica 10.0.2 on my Win7. I'm trying to make a PDF for publication similar to figure below: This is a figure containing a 4X3 image. The feature in image is irrelevant, my point is to ...
6
votes
2answers
82 views

How to scale values for ColorFunction in SliceContourPlot3D?

Trying to help out in the question, Finite Elements 3D, I came across this behavior of SliceContourPlot3D: ...
1
vote
0answers
56 views

Plot for a polynomial with multi-variable as parameters [closed]

I would like to generate a Plot for a multi-variable polynomial. When I try the code below: ...
5
votes
1answer
80 views

How can we choose the distance between PlotMarkers in a ListPlot?

If we write in Mathematica: ListLogLinearPlot[Table[{x, x^4}, {x, 1, 2, 0.03}], Joined -> True, PlotMarkers -> {"\[FilledCircle]", 10}] we get: where ...
3
votes
2answers
155 views

ListPlot vector 3D circle line

I got a 2D vector with the following code. ...
3
votes
1answer
72 views

Colour of lines in ContourPlot3D

How do I change the colour of these lines from black to, let's say, red? ...
0
votes
0answers
60 views

Problem with BSplineCurve 3D

I have a problem using the function BSplineCurve [ ] . I have to represent a line passing through about 3000 points in 3D. I managed to plot the points separately, but when I use the 3D BSplineCurve ...
0
votes
0answers
36 views

How to Plot StreamPlot of an ODE (particular case)

How do I plot (StreamPlot) the differential equation y'=ay-by^2 (a=3, b=1 , for example). It is a separable ODE without explicit x dependence on RHS. I tried StreamPlot[{1, (3y-y^2) },{x , 0, 5}, {y ...
3
votes
1answer
73 views

Phase space 3D diagram [closed]

I want to draw a diagram for nonlinear dynamic system in three dimensions $(m,y,A)$ but I don't know how do it. These are my equations: ...
4
votes
2answers
177 views

How to generate a random pulsar graph between two points?

I am going crazy trying to create this. I am trying to create a pulsar graph that starts and ends on two points that have the same y smoothly along the x axis. The pulsar should have random valleys ...
1
vote
2answers
109 views

Plot region from given coordinates [duplicate]

How can I connect given coordinates and create figure from it? Can I fill it with colour? I tried: Line[{a[[1]], a[[2]], a[[3]], a[[4]], a[[5]], a[[1]]}] where ...
0
votes
2answers
61 views

plotting summation to check for convergence

Our assignment was to enter in a series and check to see if it converges by graphing. However, when I attempt to graph it, I get a bunch of errors that I'm not sure what they mean. Best way to show ...
3
votes
0answers
52 views

Fitting real and imaginary parts of a function

I have an analytic form of a function G[w_] = -I*z0*w/(1 + I*z0*w*a) I know this function can be obtained (up to some overall normalization) from solving a ...
1
vote
1answer
50 views
5
votes
2answers
169 views

Arrow head halfway along parametric plot

I have a problem with putting arrowheads on my parametric plot, I have looked through the various examples on here, which all work fine, but when I replace it with the code for my parametric plot, I ...
1
vote
1answer
103 views

Simple code failing which used to run perfectly

This very simple code ran perfectly two days ago, and now it is failing, for no reason that I can see. It is simply running indefinitely, and when I abort it, it continues running until I abort it ...
4
votes
2answers
126 views

Interpreting the result of ContourPlot3D

I want to understand what exactly ContourPlot3D is plotting here. I wanted to check that there are no solutions $(x,y,z)$ to the equation $$\frac{1}{a b (1 - x - ...
10
votes
2answers
122 views

How can I make a density plot (or contour plot) with an arbitrary nonlinear scale (e.g. arcsinh, log, biexponential)?

I was inspired by this question, which showed how we can apply logarithmic scaling to a density plot. But I'm not always a fan of a logarithmic scale - it tends to overemphasize smaller features. ...
9
votes
2answers
379 views

Small circles at mesh nodes

How to show the (16 X 4) mesh intersection points by a tiny red dots? ParametricPlot[v { Cos[u], Sin[u]}, {u, 0, 2 Pi},{v,1,3}, Mesh-> {15,3} ]
-1
votes
1answer
77 views

Why do my discrete plots fail? [closed]

I'm trying to make a discrete plot of this function: y[k] = ( 0.2 * sin(k) )/k. But when I evaluated this: ...
5
votes
1answer
101 views

PlotStyle according to PlotRange

I have the function Hypocycloid[{R_, r_}, θ_] := {(R - r) Cos[θ] + r Cos[θ (R - r)/r], (R - r) Sin[θ] - r Sin[θ (R - r)/r]} For, e.g., R=5 and ...
0
votes
1answer
42 views

Plotting Open and Closed Dots for Endpoints [duplicate]

In traditional textbooks you'll see open and closed dots to indicate whether to include or exclude the point respectively. How can I modify this code to include open and closed dots at x=2? I don't ...
9
votes
2answers
406 views

How to plot a distribution of planes

How can one plot in Mathematica a distribution of planes in $\mathbb R^3$? For some point $p=(x,y,t)\in\mathbb R^3$, I want to attach a plane spanned by $X(p)=\left(1,0,\frac{1}{2}y\right)$ and by ...
1
vote
2answers
85 views

How to show the directions (arrows in the graph) for a ParametricPlot [duplicate]

f[t_] := 2*t - 3; f1[t_] := 6*t - 7; ParametricPlot[{f[t], f1[t]}, {t, -3, 3}] The above code shows the graph... but it can't show me the directions. How can this ...
5
votes
3answers
235 views

What is causing these artifacts in RegionPlot3D?

I have a simple program like this: ...