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

learn more… | top users | synonyms (4)

0
votes
1answer
208 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 ...
2
votes
1answer
175 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
160 views
0
votes
1answer
101 views

Plotting the set where $F(x,y)\leq0$ holds [closed]

I was using Wolfram Alpha to explore some set which is defined by an inequality. Somehow I was not able to reproduce the picture with mathematica. What is the best way of plotting a set defined as ...
1
vote
1answer
148 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 ...
0
votes
0answers
89 views

Custom Errorbar-Function

I wanted to have a better control on the ErrorListPlot, so I defined a custom ErrorBarFunction: ...
17
votes
2answers
779 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?
4
votes
3answers
433 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
240 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
195 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
66 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
73 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
45 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: ...
0
votes
1answer
139 views

Plotting continuous functions on integers [closed]

How can one plot a continuous function of the variable $x$, say $f(x)$, but only for integer values of $x=n$ with $n\in\mathbb{N}$ - i.e., as it was a List?
2
votes
1answer
100 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
132 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
164 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
121 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
201 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
257 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
71 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
132 views

Combining graphics & lists / tables

I have: created with: ...
1
vote
1answer
107 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
330 views

Conditional options in Plot

I was hoping to incorporate an If function into a Plot option, as in ...
6
votes
2answers
295 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
301 views

Combining graphics

Original question I would like to put a coloured grid behind the following plot: which was generated by: ...
2
votes
1answer
161 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
82 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
64 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
117 views

How to adjust the correct ImageSize between two plots

Let's consider the following simple plot ...
4
votes
3answers
119 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
86 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
164 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 ...
2
votes
1answer
218 views
8
votes
3answers
408 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
190 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
332 views

NDSolve Plotting issue

I am trying to solve a system of ODEs with one extra boundary condition. ...
0
votes
0answers
57 views

Logarithmic scale in BarChart3D

I want to display my data in a logarithmic way in a 3d diagram. I found BarChart3D, which seems to be nearly what i need. I tried: ...
1
vote
1answer
109 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
162 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 ...
1
vote
3answers
367 views

ListPlot multiple datasets over same x-values

Is there a better way to enter my data into a list plot? ...
2
votes
1answer
317 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
314 views

Plotting confidence intervals

The documentation for PDF has an example for plotting a confidence interval of a standard normal distribution: ...
-2
votes
1answer
80 views

Manipulate and Plot using conditional, like if [closed]

I'd like to plot a number of functions that are linked by two parameters. However, the evaluation of these functions over the defined interval should be carried out only for certain values of these ...
0
votes
0answers
58 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
91 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
129 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 ...
6
votes
2answers
348 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 ...
2
votes
1answer
211 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
111 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" ...