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

learn more… | top users | synonyms (6)

0
votes
2answers
303 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
157 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
371 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
493 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
90 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
185 views

Combining graphics & lists / tables

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

Conditional options in Plot

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

Combining graphics

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

How to adjust the correct ImageSize between two plots

Let's consider the following simple plot ...
4
votes
3answers
133 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
93 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
295 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
543 views
8
votes
3answers
572 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
506 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
364 views

NDSolve Plotting issue

I am trying to solve a system of ODEs with one extra boundary condition. ...
1
vote
1answer
196 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
209 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
1k views

ListPlot multiple datasets over same x-values

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

Plotting confidence intervals

The documentation for PDF has an example for plotting a confidence interval of a standard normal distribution: ...
0
votes
0answers
89 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
105 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
252 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
569 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
452 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
128 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
117 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
376 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
82 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
128 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 ...
1
vote
2answers
216 views

Opacity and overlapping points on ListPlot3D

I am plotting a dataset on ListPointPlot3D, and in order to give an idea of density of points I used opacity of 0.5. The problem is that that while the opacity of points behind one another is added, ...
1
vote
1answer
781 views

How to rotate the z label in 3D plots

Let's take the following simple and funny case ...
0
votes
2answers
170 views

What's wrong with my graph input?

So I saw this picture on my book and it was left as an exercise to figure out. This is what I have so far, but I'm not sure where I went wrong. ...
4
votes
1answer
210 views

How to prevent axes label and tick labels from being placed inside a 3D plot

Consider the following toy-code: ...
2
votes
1answer
97 views

What is the need for function parameters? Many possible inputs

If I have many possible variables related to one another, why do I need to define my function with parameters for plotting? For example, if I have an equation like: ...
2
votes
3answers
1k views

How do you plot level curves describing a 3d surface on the x-y plane?

I am trying to plot several level curves of the cone: [x=ucos[v], y=usin[v], z=u],[0<=u<=2,0<=v<=2Pi] in the x-y plane. Does anyone know how to do this? Thanks
0
votes
3answers
192 views

Labeling different curves on a LogLinearPlot

I have created a couple of two-variable plots of the form f(x,y)=x*y where there's a number of result curves, each representing an answer (image example below). ...
14
votes
1answer
2k views

Logarithmic scale in a DensityPlot and its legend

I was recently faced with the task of creating a DensityPlot with a logarithmic colour scale, and with providing it with an appropriate legend. Since I could not find any resources to this effect on ...
1
vote
1answer
151 views

Plotting - recursive

Slightly clearer, hopefully: I would like to plot Solve[Normal[Series[E^(n x), {x, 0, n}]] == 0 for incrementally increasing n, and show all plots overlayed. Here is my effort with up to n=63 using ...
5
votes
1answer
377 views

ListPlot3D of a set of points in a non-convex region

I would like to plot a set of points in the same style as ListPlot3D does, but only in a non-convex region that I can specify (e.g. using a ...
4
votes
1answer
402 views

Specifying coordinates for Inset on a LogPlot

If I use Epilog->Inset within a Plot, the coordinates specified within that Inset match ...
4
votes
1answer
167 views

Dark artifacts in mathematica plot

When plotting in Mathematica I just got some "dark artifacts". Here is my code: ...
1
vote
1answer
237 views

Show multiple plots with single variable

Using the same example code as in this question, is it possible to show all 10 plots (ie, each step of the manipulation) simultaneously? If a manipulate function is a series of listplots based on a ...
8
votes
6answers
795 views

How to draw symmetrical parts of a circle

Let's consider the following simple case: ...