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

learn more… | top users | synonyms (6)

13
votes
3answers
912 views

How can I convert colors to grayscale?

I want to change the above colored plot into a grayscale plot. I have tried this: CCGray[pic_?ImageQ] := Module[{}, ColorConvert[pic, "GrayScale"]]; but it ...
-1
votes
1answer
195 views

Linking two differential equations

The solution and plot of the Differential equation is $\frac{d^2S(r)}{dr^2}+\frac{1}{r}\frac{dS(r)}{dr}-S(r)+3S^3(r)=0$ ...
14
votes
3answers
1k views

show density plot on US map

I have a bunch of data points in the form of {latitude,longitude}. How can I plot their density on a US map? Single points on the map do not show clearly their ...
0
votes
2answers
311 views

LogPlot of the calculated data in For Loop in Mathematica

I have the following loop, for calculating a data for different values of inputs. How I can plot the result at the end of For loop? Its not matter if the plot is inside or outside the loop, I just ...
-1
votes
1answer
619 views

plotting the solutions of system of differential equations [duplicate]

The following code include the system of differential equations: ...
-1
votes
1answer
121 views

Indicating the axes [closed]

I want to scale the $x$ axis of the plot by $x^0$ and the $y$ axis by $\tan x$. Is this possible ? Plot[Tan[x], {x, 0, 10}, PlotRange -> Automatic] EDIT: ...
0
votes
1answer
443 views

Specify values for X-axis and Y-axis ticks and control their format

I have following problem: I want to set the values for the X-and Y axis by myself, but the values (e.g. 0.800) are not plotted as I defined them (see image 0,8), mathematica removes the zeros. ...
5
votes
2answers
1k views

How to extract data from contour plot as a text file?

I have the following expression from which I want to extract data for a contour plot. ...
2
votes
1answer
263 views

How to fill between abscissa values?

How can I produce a fill (in a plot) that extends between two given abscissa values, and "infinitely" in the ordinate direction? (Of course, here "infinitely" just means "up to the top and bottom ...
11
votes
4answers
2k views

How to keep markers as dots in a joined ListPlot?

Consider the following typical interactive sequence. First I produce a ListPlot: OK, not bad, but I want those dots to be bigger, and also joined. First, I ...
6
votes
3answers
392 views

How to disable differential styles/markers/etc. for multiple entities?

For functions that can produce multiple "style-able" entities, Mathematica by default will give each such entity a different style. Similar conventions apply to other features, either by default, or ...
4
votes
2answers
139 views
2
votes
0answers
69 views

Setting OperatorSubstitution to false causes Plot's labels of sufficiently small size not to appear in the specified typeface. Is this a bug?

This problem is no longer there after I upgraded to Mathematica 10.0.2. If I set OperatorSubstitution to False, the labels of ...
6
votes
3answers
3k views

Position of axes labels

I have a 2D parametric plot like the following: ...
1
vote
1answer
214 views

Blank VectorPlot

I'm trying to draw a VectorPlot of a function that admittedly probably is not very well suited for such a plot. But at the moment I just get a white sheet and I ...
2
votes
3answers
260 views

Using Tooltip with Joined data on a plot

I have some data partitioned into three sublists: ...
5
votes
1answer
148 views

Text as plot axes values

I have some chemical data that I am plotting using ListLogPlot. ...
5
votes
2answers
831 views

How to draw a graph about the FourierTransform of a 2D Function?

Here is a 2D function, and it cannot be calculated by the FourierTransfrom ...
7
votes
5answers
2k views

Filling between parametric plots

I am new with Mathematica, but am trying to fill an area between two parametric plots ...
0
votes
1answer
136 views

InputField equations and Solve

I'm trying to get this piece of code to work: ...
3
votes
1answer
169 views

Plotting Uncertainty for a Sample of Functions

I am trying to produce a plot showing the variation in a sample of functions. It should look like this plot or that plot. I tried to use SmoothDensityHistogram. ...
0
votes
1answer
375 views

Can I combine a manipulate plot and a plot of data from a file?

I am fitting a theoretical equation for a complicated curve to some experimentally measured data. As you might be aware, algorithmically quantifying 'goodness of fit' for a complicated curve is ...
1
vote
1answer
145 views

Plot an implicit function containing the correlation of two vectors

I am trying to do something like this: ContourPlot3D[ Expand[Correlation[{0, 1, 2}, {b1, b2, b3}] == .5], {b1, -5, 5}, {b2, -5, 5}, {b3, -10, 10}] But ...
12
votes
2answers
467 views

Putting ticks with values on a parametric plot

I need to plot ticks with values on the following ParametricPlot[] The ellipse can be obtained by ...
7
votes
3answers
2k views

Circular Plot and Circular Histogram

The spherical or circular data arises when we measure data in degree e.g wind direction, clock and compass etc. Then representation of such data we need to plot circular plot, circular histogram and ...
7
votes
2answers
790 views

Alternate parameterization of a line

There are several ways to specify a line. In Mathematica's graphics, it is done by specifying two points and then connecting the points with the Line command. But ...
2
votes
1answer
355 views

How can I draw a curve through as set of xyz points?

I have a list of data and want to make a curve like the one below which I made in solidworks. The problem of this curve is, that I don't know how to put it in a box with coordinates. The best I ...
0
votes
1answer
110 views

Exporting summation of interpolating functions to excel

I search the forum and found a question about exporting interpolating functions to excel. Unfortunately, I can't use it to export the results to excel. This is the equation : ...
0
votes
1answer
131 views

ParametricPlot Question

I want to graph more than two, lets say 5 different ParametricPlot-s all in terms of different time variables. Is there any way to do this, such that they all show ...
27
votes
4answers
2k views

How to create a wind rose with Mathematica?

I am trying to plot wind rose in Mathematica, but have no idea how to do this. Any suggestions ?
2
votes
0answers
53 views

Draw Vector Tangent to Point on Parameterized Curve [duplicate]

I define the vector function $\vec{r}(t)$ by r[t_] = {t, Cos[t], Sin[t]} The command r'[t] gives the vector tangent to the ...
15
votes
4answers
951 views

How do I plot a histogram with hatched shading?

I can plot an ordinary histogram with blue shading and black borders like this: T = RandomVariate[NormalDistribution[0, 1], 10000]; Histogram[T, 30] And I can ...
10
votes
2answers
541 views

Resolution problem of ContourPlot

I met a tricky problem with ContourPlot, which is when I change the range of my variable, I get a totally new figure. For example: ...
4
votes
3answers
496 views

Finding central point in a ContourPlot

I am using ContourPlot for defining a 2-parameter space feasibility of a function. This function simply returns 1 if everything is ...
3
votes
2answers
242 views

How do I interpolate a set of points with colour varying along the curve?

I have a table with 3 columns - x position, y-position and colour. I'd like to plot these points and join them with line segments, where the colour of the line segment is determined by 3rd variable. ...
0
votes
3answers
1k views

How do I show the combined plot from the do-loop?

I have a do-loop to do the calculations from a set of data and plot the graphs with different results, that was obtained from the calculations. I was able to get multiple graphs but I want to ListPlot ...
0
votes
0answers
483 views

Plot basins of attraction using separatrices for particular pendulum

How can I plot the stable and unstable separatrices to make a graphic of the basins of attraction of this differential equation? ...
3
votes
1answer
441 views

How can I make a list plot with bars?

Can anyone help me please? I don't want a Histogram; I don't want a BarChart, not even a ListPlot with drop down lines. I want a list plot with drop down columns/bars: please see the link. It is ...
5
votes
2answers
382 views

How to use a ConvexHull as RegionFunction?

I have a set of data supported over a region in 2D. I want to use RegionPlot and ContourPlot on interpolations of my data, but want to restrict the Plots to the region over which my data is supported. ...
1
vote
1answer
413 views

ParametricPlot3D and Sphere Graphics

I'm trying to put a sphere into a 3D parametric plot, but I seem to have a strange problem. Here's the code: ...
2
votes
1answer
176 views

RevolutionPlot3D: Inconsistency between Mathematica 8/Linux and Mathematica 9/OSX

The following code runs error-free in Mathematica 8.0 under Linux. ...
4
votes
0answers
603 views

Interpolate throughout a 3d data list without extrapolation

I have a 3D list of data for which I'd like to plot an interpolated surface. There are several ways to achieve this, but none I cannot find a method which ONLY plots the ENTIRE interpolated surface ...
7
votes
1answer
142 views

How does Plot determine vertical range when not user-specified?

Consider the example1: p0 = Plot[Tan[x Pi/2], {x, -1, 1}] In this case, the vertical range specified would be $(-\infty, \infty)$, which is clearly impossible to ...
2
votes
3answers
552 views

Saturated Density Plots

I am making some density and contour plots in Mathematica. These plots have very high peaks which saturate with color and prevent me from seeing differences in the peaks. Is there a way I can tone ...
5
votes
3answers
333 views

Interpolation steeply drops to 0 beyond data

I use Interpolation on unstructured 3-D-Data to visualize different regions via RegionPlot. A problem I run into is that the interpolating function steeply drops to zero beyond my set of data. This is ...
4
votes
1answer
139 views

Why are the two shades of the same color in this figure?

Given $S \subseteq \mathbb{C}$ I am trying to plot $f(S)$ for given complex valued function $f$ Looking at other answers on this site for similar questions, I came up with this ...
0
votes
1answer
288 views

Plotting region $f(S)$ for given complex function $f$ and $S \subseteq \mathbb{C}$ [duplicate]

I have a function $f: \mathbb{C} \rightarrow \mathbb{C}$ and I want to be able to see the effect of $f$ on any particular region of $\mathbb{C}$ e.g. what happens to the unit disk under this ...
3
votes
2answers
154 views

How to produce multiple plots from a multiple data sets

I have a number of lists and want to plot all of them vs each other. E.g.: l={ {a,2,5,4,6}, {b,4,6,6,2}, {c,2,8,3,5}, {d,1,5,2,5} } Now I want multiple plots ...
4
votes
2answers
418 views

Why doesn't Mathematica divide out the Kelvins?

I thought I understood Mathematica V9 units. However, I can't get these numbers to plot, or even to come out to a nice clean unit of mass (say grams). The Kelvin's ...
4
votes
2answers
198 views

Using two color functions in a MatrixPlot

I'm trying to use two color functions within one MatrixPlot in Mathematica. Is it possible to do this? For example, using a very simple matrix: ...