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

learn more… | top users | synonyms (4)

4
votes
1answer
176 views

Why do all plots open in new windows when I use JavaGraphics?

I want to open only one plot in new window. When I use <<JavaGraphics` all plots open in new windows. I put ...
0
votes
2answers
255 views

Difference of old Graphics`Graphics3D`ListSurfacePlot3D and the current ListSurfacePlot3D

Consider the following example data which creates the lines of a cylinder ...
0
votes
3answers
178 views

Finding the common areas of two contourplots

I used ListContourPlot to specify an area for which the function value is less than a number. For example consider the following areas: ...
0
votes
2answers
415 views
0
votes
1answer
857 views

Plotting two surfaces and visualizing their intersection

Trying to plot the following two functions to show points of intersection. ...
0
votes
2answers
680 views

How to manipulate plot range with fixed axes

I want to achieve something like this Manipulate[Plot[Sin[x], {x, 0, r}, PlotRange -> {{0, 10}, {-1, 1}}], {r, 0.1, 10}] but my function in place of ...
3
votes
1answer
409 views

Contour heat graph (ListContourPlot?)

I have solved 2D incompressible Navier Stokes and written out a .dat file that includes x,y,u,v,p values. I am trying to get a 2D color heat graph like this one for my data Here is what I have done ...
2
votes
1answer
689 views
1
vote
1answer
207 views

how to plot log-log histogram in Mathematica 7

I have a large array of real (positive and negative) numbers and I want to plot the histogram of it. I can use Histogram[data, "Log", PlotRange->All] but ...
0
votes
1answer
119 views

Plotting a 2-D shape given its border points [duplicate]

I have the border points of a 2-D body and wish to fill its interior with a solid color. Let us say I have $N$ such points stacked in the $N \times 2$ matrix $A$ so that the first column indicates the ...
2
votes
2answers
841 views

How to increase the number of minor ticks in a plot?

I want to increase the number of minor ticks in a plot, but I don't want to label them. I searched through this site and also Mathematica documentation, but I didn't find any solution yet. Could ...
1
vote
2answers
386 views

Probability density histogram with unequal bin widths

I am confused by output of Histogram and HistogramList for probability density ("PDF") when ...
2
votes
1answer
160 views

How do I plot Numerical Range of two hermitian matrices

Let $A_1$ and $A_2$ be two $3\times 3$ hermitian matrices. Then their numerical range is defined as two-dimensional set \begin{align} \mathbb{S}=\{\left[u^HA_1u,u^HA_2u\right]\in ...
1
vote
1answer
210 views

List plot 3D not showing correct data

I have a list of values of the form {{a_1,b_1,c_1},{a_2,b_2,c_2}...} where a goes from 0 to 30, ...
2
votes
1answer
490 views

How do you draw a straight line with PolarPlot?

I can't figure how to draw a line with PolarPlot. A vertical line through a is $r \cos(\theta) = a$, so ...
1
vote
2answers
186 views

Efficient Data Entry / Manipulation with Many Datasets

I currently have a simple task of graphing many different datasets (26 here, with many different instances where I'll need to do, say, 26 different ones from the same template). I'm trying to ...
8
votes
2answers
425 views

How do I create an ellipse bubble chart?

I have some data that I would like to plot as a bubble chart. The data is formatted as {{val1_mean,val1_sd,val2_mean,val2_sd},{val1_mean,......}}. What I would like to do is plot a bubble chart where ...
2
votes
1answer
213 views

Custom (Frame)Ticks fail when using Mathematica's script engine

I want to define my own ticks in a DateListPlot. It works quite well when I use the code in a Mathematica Notebook but breaks somehow when using it via ...
1
vote
3answers
80 views

Edit AxesLabel from an existing plot

I have a really complex function that takes a few hours to plot as a function of a parameter. Few days later I realised that I named the axes wrong. Is there an easy way to edit the AxesLabels without ...
4
votes
1answer
3k views

How to graph a sphere with cartesian equations?

I'm new to Mathematica and I need to ask how to graph a sphere, cylinder, etc.. using cartesian equations. For example in sphere's case $x^2+y^2+z^2=1$ I tried to use ...
13
votes
2answers
969 views

Basins of Attraction

How does one shade the basin(s) of attraction of a phase plot in Mathematica? I have been trying to do this using the system $$\begin{align*} \dot x &= y\\ \dot y &= -9\sin(x) - 0.20y ...
1
vote
1answer
60 views

Control formatting of a Text element in a plot?

Is it possible to define the format for a part of Text in a plot? For instance, is it possible to have v bold and ...
3
votes
1answer
119 views

FrameTicks given through Show does not work with LogLogPlot

This is similar to the closed topic: Frame ticks for a Log Log plot [closed]. Let me reuse (rm -rf)'s example here. FrameTicks given through Show does not appear if used with LogLogPlot: ...
9
votes
4answers
599 views

Drawing minor gridlines

What's the best (most elegant, shortest, easiest to read) way to add minor grid lines to a plot? Here is an example: ...
5
votes
4answers
185 views

FrameLabel not printing completely

Running this code: ...
2
votes
1answer
150 views

Strange spikes in my surface

I'm getting strange spikes in my surface S with the code below. PlotPoints seems to help, but it doesn't solve the problem. Any ...
0
votes
1answer
164 views

Plot a function over a specific domain

I have a function that is defined on a specific domain for example the function $$f(x,y)=(x-0.5)*(y-0.5)$$ defined on $\Sigma$ which is the circle $(x-0.5)^2+(y-0.5)^2=0.5^2$ How to plot $f$ over ...
0
votes
1answer
87 views

Reflection transform of function [duplicate]

I am trying to find the reflection function. Here is my function and its graph. ...
2
votes
1answer
291 views

Non linear equation phase space

As a supplementary to my question solution of differential equation I post a new question of how is it possible to make a Table that has elements the solutions of a non linear differential equation, ...
3
votes
1answer
234 views

Issue with ListDensityPlot when using logarithmic scale

I have got some frequency response data from a speaker measured with different incident angles between speaker and microphone taken in an anechoic chamber. The data can be found here. The whole ...
10
votes
2answers
355 views

Diagonal Tick Marks

I would like to draw diagonal tick marks around a plot, and simultaneously rotate the tick labels as well. I've mocked up what this would look like: Is there an easy way to do this in Mathematica? ...
1
vote
1answer
206 views

Additional label on axis - 2D plot

I am finding a local maximum of a curve and I want to make the plot easier to read. I added a point to where the maximum is but I would also like to: 1) add a tick with text below it where the x ...
5
votes
3answers
833 views

How to speed up the plot of NIntegrate?

Here is a toy example: f[t_] := NIntegrate[Sin[x], {x, 0, t}]; Plot[f[t], {t, 0, 10}] // Timing Even such a simple example will take 2.8 seconds on my computer. ...
2
votes
2answers
290 views

ColorFunction based on data

I have a list of numbers, and I would like to plot them using ArrayPlot (which is easy, usually :)). I would like to be able to color the elements of the plot based on the average of the list: one ...
2
votes
1answer
1k views

Making axis numbers larger on Mathematica plot

I want the numbers along the axis to be larger than the default value. Can this be done? The reason I am asking is because I frequently make charts in Mathematica and use them in Word. I export ...
7
votes
3answers
238 views

Converting Mesh in Density Plots to a Graph

Consider the following line of code: ...
1
vote
1answer
154 views

Plotting a convolution fails [closed]

i'm trying to plot a graph of a convolution and a discrete convolution, using Mathematica 8 ...
0
votes
1answer
88 views

Help with interactive plot? [closed]

The following interactive plot causes Mathematica 9 to become unresponsive. Could someone please tell me what is wrong with it? ...
9
votes
2answers
554 views

Customize your FrameTicks in a MATLAB way

The figure below is made by MATLAB. However, the scientific form of numbers in FrameTicks that how MATLAB deals with is quite different from that of Mathematica. ...
3
votes
1answer
192 views

How to make the plot from geotiff format

I have a "GeoTIFF" format map, and I have imported it into Mathematica, then I used the Graphics to plot a point on the map. ...
7
votes
3answers
275 views

Linking points in separate lists in ListPlot (updated)

Updated: I have two lists (of different lengths) of co-ordinates, in the form {x,y,"tag"}, that I wish to plot so that one list is graphically linked to the other ...
1
vote
1answer
262 views

3d plot for function defined for integer values

I would like to make a plot of a function defined just for integer values, like f[n_, m_] := 2 - (1/IntegerPart[n]) - (1/IntegerPart[m]) If I try to plot ...
0
votes
1answer
762 views

How do I define the domain of a function?

I have a function of two variables, f[x_, y_], and I would like to restrict the domain to values of x and ...
4
votes
1answer
187 views

Manipulate a Plot that contains a variable that contains symbol [duplicate]

This snippet mm = m Manipulate[{mm, Plot[mm x, {x, 0, 1}]}, {m, 0, 1}] (m is not defined anywhere) produces a sadly fixed ...
0
votes
2answers
257 views

Problems with NDSolve and stiffness

I am trying to solve an ODE in chemical kinetics: $$\begin{align*} \frac{\mathrm d[x]}{\mathrm dt} &= -k_1 [x][y]\\ \frac{\mathrm d[y]}{\mathrm dt} &= k_1 [x][y] - k_3[y] \end{align*}$$ My ...
5
votes
3answers
150 views
5
votes
1answer
145 views

Why do vertex labels disappear when I edit with drawing tools?

I'm trying to change the text and arrow style in GraphPlot using the drawing tool, but the the vertex labels disappear when I do that: ...
2
votes
1answer
129 views

double arrow in GraphPlot

Is it possible to combine two edges into one with a double arrow? For example: ...
1
vote
1answer
683 views

3D plot of two 2D functions

I would like to plot two 2d functions in a 3d coordinate system. Examples are z = x^2 and z = y^2. Each function has one ...
1
vote
1answer
94 views

Contour3Dplot more graphs in one picture [duplicate]

How can I plot two equations in one 3D graph. I have to plot x^2+y^2=1 and x^2+y^2+z^2=2 but I want tu plot only their intersection :( Thank you