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

learn more… | top users | synonyms (4)

1
vote
0answers
315 views

Differential equations: How do I solve a delay differential equation with 0-1 variables

How do I solve the following non-linear, delay-differential equations using Mathematica under the assumptions $$p(t) = 1 ,\; y(t) > k$$ $$p(t) = 0,\; y(t)<= \ k$$. $$ \frac{dw}{dt} = ...
0
votes
1answer
452 views

Plotting two vectors on the unit circle [closed]

I would like to plot a vector on the unit circle, depending on an angle Pi/k, and the same vector rotated by an angle d. I try ...
3
votes
1answer
240 views

How can I create a colour image using raw black and white data? (FITS data cube)

I have a data cube containing pictures of a galaxy across a thousand wavelengths. I want to take the data for the image slides in the red and blue parts of the spectrum, and have them represented in ...
1
vote
2answers
233 views
1
vote
1answer
217 views

Alternating Axis Labeling between Left and Right Axis

I'm using the following to label a MatrixPlot: FrameTicks -> {{yticks, None}, {None, xticks}}, I'm labeling these ticks with text. It is impossible to get the ...
20
votes
2answers
1k views

How to plot a certain surface? What is its parametric equation?

The surface show below is very beautiful; however, I don't know its function either as an implicit function or in parametric form. Anyone have an idea about it and how to draw it with Mathematica?
5
votes
3answers
736 views

Increase 3D Graph thickness for 3D printing in Mathematica?

My code: Plot3D[{(2*x*y)/(x^2 + y^2)}, {x, -2, 2}, {y, -2, 2}] Output: And now I can export this to STL by using the export STL command, however, when I try ...
3
votes
3answers
368 views

How would I plot the volume element in cylindrical coordinates?

I have this graph: But it doesn't have a function so I can't just plugin in a function into wolfram or mathematica to plot it. I have these coordinates to make it however: ...
7
votes
2answers
286 views

Union of plotted regions as sum of colors

I wish to plot 2 functions $f$ and $g$ so that the region bounded by $f$ has color $c_f$, the region bounded by $g$ has color $c_g$, and the region bounded by both has color $c_f+c_g$. E.g. $c_f$ is ...
1
vote
1answer
73 views

Use boundaries of one plot for another

I am writing some code in which I combine a ParametricPlot[] with a RegionPlot[]. Mathematica is very good at figuring out ...
0
votes
1answer
129 views

Mathematica Error Message using CylindricalPlot3D

I have a full version of Mathematica Home Edition 9 installed on a high end desktop. I'm trying to learn how to use it and keep coming up with an error message that I cannot figure out. I want to ...
0
votes
0answers
50 views

Error plotting delayed expressions [duplicate]

I have defined: Qq[T_] := Exp[-w/(2 T)]/(1 - Exp[-w/T]) Uq[T_] := T^2 D[Log[Qq[T]], T] Can someone explain why this expression work: ...
2
votes
1answer
113 views

Plotting the solution of a 2nd order equation

I have got to solve a second order equation, where the coefficient depend on the parameter $k$: $$(A_k - \omega) (D_k- \omega) - B_kC_k = 0$$ so that also the solution $\omega=\omega(k)$ will depend ...
1
vote
0answers
166 views

Plotting basin boundary

How to plot the basin boundary in Mathematica? I have been trying to do this using the system ...
0
votes
2answers
248 views

Best method to do a List Plot of two series with the same x-Axes [duplicate]

I want to plot two data series with the same $x$-Axes. I can use Show for this purpose, but I don't know if it is the best way, because I've to set all options two ...
0
votes
1answer
149 views

How to use NyquistPlot without having a transfer function model?

Could anyone tell me how to use NyquistPlot with a first argument that is not a transfer function model? The expression I'd like to pass to ...
3
votes
1answer
315 views

Combine a dynamic module with a manipulation

I would like to combine a dynamic module with a manipulation, whilst maintaining the functionality of both. I have tried things like Show and ...
2
votes
1answer
466 views

How to insert a plot into another overlay plot

I want to insert a plot into another overlay plot. Here is my code: ...
0
votes
1answer
86 views

A few specific questions on a number of plots in a do loop

I have created the picture displayed below, with the following line of code: ...
0
votes
2answers
174 views

Combining graphics & lists / tables

I have: created with: ...
1
vote
1answer
123 views

Explicit StreamPoint

I have trouble with getting the explicit initial StreamPoint to work. The number of streamlines are not the same as the number of initial points. What am I doing wrong? ...
9
votes
6answers
869 views

Conditional options in Plot

I was hoping to incorporate an If function into a Plot option, as in ...
9
votes
2answers
413 views

How can I make a grid of plots with no spacing, and have the plots line up perfectly?

I am making a bunch of two dimensional plots and I would like to have them arranged in a grid with no space in between them. That is, I want their frames touching each other. My problem is twofold. ...
7
votes
1answer
366 views

Combining graphics

Original question I would like to put a coloured grid behind the following plot: which was generated by: ...
2
votes
1answer
278 views

Plot Piecewise-Smooth Vector Field.

I want to plot a piecewise-smooth vector field. For instance: $F_1(x,y) = (x^2 + y^2, y^2)$, $F_2 (x,y) = (2xy,2xy-x^2)$ and $H(x,y) = x-y$ $F(x,y) = \begin{cases} F_1(x,y) \text{ if } H(x,y) ...
2
votes
1answer
98 views

Manipulating horizontal and vertical 'guidelines'

Is it possible to create an interactive plot that has drag-down / across horizontal & vertical guides a la Illustrator / InDesign? I would like to generate something like this: I would ideally ...
0
votes
2answers
66 views

Plotting using IntegerListPlot [duplicate]

I can't seem to implement IntegerListPlot, or find anything about it in the documentation. I can only assume it a custom function. It comes from this link. I downloaded the Mathematica notebook, but ...
0
votes
1answer
144 views

How to adjust the correct ImageSize between two plots

Let's consider the following simple plot ...
4
votes
3answers
130 views

Annoying errors in sections of plot

Not a major problem, but for some reason, Mathematica outputs unevaluated diagonal sections in what should be a step plot: Plot[{PrimePi[x]}, {x, 0, 200}] ...
1
vote
1answer
92 views

Plotting a sum as a function of its upper bound

Apologies if this is easy to find in the documentation, but is there a quick way of doing the following up to any given 'n'? ...
0
votes
1answer
266 views

3D Plot of .txt File of the Surface Plotting Variety

I'm having a bit of trouble. I've seen other questions answered on here about how to 3D plot data from .txt files of the format: x y z x y z x y z Which works ...
5
votes
1answer
518 views
8
votes
3answers
519 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
3answers
451 views

Plotting DSolve results

I am attempting to make a plot of the solution an ODE. I want to plot the solution using PolarPlot, x is the polar angle in ...
6
votes
2answers
358 views

NDSolve Plotting issue

I am trying to solve a system of ODEs with one extra boundary condition. ...
1
vote
1answer
168 views

Exporting a Table of Graphics into Individual Files [duplicate]

The command Table[Polt[Sin[k x],{x,1,10}],{k,1,30}] generates a list of graphics. I want to export each list item as an individual jpg file, named according to ...
1
vote
1answer
200 views

Problem with manipulation and plot

I want to make my function trace the hypotrochoid through one period of its motion and trying to change the color of the trace, color of the radius, and change the color of the dot on it so I can view ...
2
votes
4answers
970 views

ListPlot multiple datasets over same x-values

Is there a better way to enter my data into a list plot? ...
2
votes
1answer
384 views

How to make a 3D-Plot from 2D-interpolated data

I have data of the form {x,y} for different concentrations. Therefore I added the concentration as z, resulting now in ...
0
votes
3answers
523 views

Plotting confidence intervals

The documentation for PDF has an example for plotting a confidence interval of a standard normal distribution: ...
0
votes
0answers
81 views

How can I plot the characteristic polynomial? [duplicate]

For example, I have: CharacteristicPolynomial[m, x] 0.5 + 0.1 x + x^2 But ...
1
vote
1answer
99 views

Not getting the range I want when plotting a function with Show [duplicate]

I have a problem with plotting a piecewise defined function with "Show". My code is ...
0
votes
0answers
203 views

Linear Stability Analysis Routine. Normal Modes in NDSolve

I want to make the linear stability analyis of a nonlinear system of PDEs. So for example then I want to plot what happens to the amplitudes of the modes. To do that I need to solve my equations with ...
10
votes
3answers
496 views

How to visualize the interior of a complicated 3d plot

I have an external data file (can be downloaded here: link 1 or link 2) which contains a dense grid of initial condition in the (x,y,z) space. I read it with Mathematica and plot these initial ...
3
votes
1answer
396 views

Plotting a Gravity-Field [duplicate]

I try to plot a 2D gravity field or something similar in the form like $r/|r|^3$ with the standart builtin VectorPlot function: ...
0
votes
0answers
123 views

Positioning Labeled points in ListPlot gives unexpected results and errors

Original question can be seen in the edit history.... UPDATE: a simpler example - same "problem" ...
0
votes
1answer
114 views

Showing the value a plotted function achieves at the right-most point of the plot domain

I'm plotting results from NDSolve, and I'd like to clip them with their value at the point where the line is clipped. So where the curve ends at the edge of the plot, there would be a number ...
0
votes
1answer
320 views

Code to give center of circle given three points in 2D? [duplicate]

does anyone know how to make a function C(p1,p2,p3)=center of circle that goes through p1, p2, and p3? This is in 2D Sorry this is poorly written but I ...
0
votes
1answer
80 views

How can I influence the elements plotted in a BubbleChart depending on the tuple plotted?

In a BubbleChart, how can influence the elements plotted depending on a value in the tuple plotted? I want to create a BubbleChart from the following data: ...
0
votes
1answer
114 views

Make the y-axis of a plot be in terms of an arbitrary parameter instead of a number?

Sorry if the title is wordy. Basically what I am asking would probably be easier if I just use an example. Say I wanted to plot f(x) = Asin(x) and have the graph come up with the sine function, and ...