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
0answers
33 views

Replace parameter of NDSolve by a Function

I dont know how to replace the paremeter inside of an interpolation function result from NDSolve by a function of another parameter. This is it: I have a ...
5
votes
2answers
202 views

Where can I get detailed information on how the Plot command works?

The command Plot[x^2, {x, -3, 3}, PlotStyle -> Arrowheads[{-.025, .025}]] /.Line -> Arrow produces this output. What I don't understand is what ...
1
vote
1answer
54 views

What is the correct way to plot a dynamically generated list of functions?

For example, I want to generate a list of random waves and plot them. Then I wrote f:=Random[Real] h:=Floor[f*20] And then ...
14
votes
4answers
463 views

HoldForm doesn't hold form

In Mathematica version 10, HoldForm no longer produces the same results as in version 8 (edit: I only have versions 10 and 8 installed, so can't compare to version ...
0
votes
0answers
89 views

Stochastic Simulation using the Gillespie algorithm

I'm trying to reproduce the simulation with demographic stochasticity in Figure 1 from the paper entitled "Dynamical Resonance Can Account For Seasonality of Influenza Epidemics" ...
0
votes
0answers
56 views

Trouble outputting Plot

I am trying to solve a system of ODEs and plot them with Manipulate but I keep getting blank outputs. Below is my code: ...
0
votes
0answers
67 views

Invert 3D objects (shape) to 3D patterns objects (shape)?

Is it possible to invert the 3D object (positive model) to 3D pattern objects (negative model) (for example, patterns for casting). For example (positive model): ...
1
vote
1answer
45 views

how to generate mesh functions according to more that one condition? [closed]

how to generate mesh functions according to more than one condition? This plot will have mesh according to z: ...
8
votes
4answers
231 views

Plot the plane so different condition has a different color

I have a list of functions defined on the plane, and I want to know which one of those functions is smaller than the other functions at particular points. Currently, what I do is ...
1
vote
0answers
19 views

LegendLayout not working as asked [duplicate]

Why the following code does not result in row layout as specified (see the attached picture for result)? ...
1
vote
2answers
70 views

How to widen PlotLegends?

I have a plot whose legend, when placed at the bottom, is two lines rather than one: ...
2
votes
0answers
73 views

How to transform frame ticks from 1, 2, 3, … to x, 2 x, 3 x, …?

I want to replace the numbers on a framed plot's axes with that number multiplied by a variable, call it x. (The idea is that I'm plotting things which depend on ...
2
votes
1answer
80 views

Two discrete colors for surface with ParametricPlot3D

I am trying to create a plot of a surface that is yellow above the xy-plane (z>0), but blue below (z<0). My first attempt was to use ...
3
votes
1answer
68 views

Radius Values not Displaying in (List)PolarPlot

I'm having troubles with the PolarAxes option in ListPolarPlot under Mathematica 8.0. To be more specific, when I run the ...
2
votes
1answer
89 views

How to put labels on a 3d plot

I'm close, but I'm stuck. Here's my code so far: ...
0
votes
1answer
123 views

Plot3D unable to understand input function

I'm attempting to plot the Wigner Function of the Morse Oscillator defined as ...
0
votes
1answer
33 views

FrameTicks puts tick markers on both sides of plot? [closed]

I have a framed plot and I want to use Ticks to create customized tick marks, along the lines of ...
10
votes
2answers
108 views

Strange Behavior in Barchart LabelingFunction

BarChart formatting algorithm make me loose some time today in V10. Now, LabelingFunction do not work beyond some number of Labels. See example: ...
2
votes
2answers
106 views

How to get axes labels with PlotTheme->“Scientific”?

I'm liking the new plot themes in Mathematica 10, but finding that I can't override the options it sets. For example, ...
6
votes
1answer
349 views

How can I plot a Chebyshev spiral?

The Chebyshev polynomials T_n of the first kind are a certain set of orthogonal polynomials. They can be defined by T_n(cos(x))=cos(nx), the first of them are T_0(x) = 1 T_1(x) = x T_2(x) = ...
0
votes
1answer
30 views

Manipulate Discrete Values Labelling

I have 3 lists of plots (generated in other code), rawplots, weightplots,linearizedplots. ...
2
votes
3answers
109 views

Plot least squares curve on Linear Log Plot

I have the following Data: ...
1
vote
2answers
127 views

How do I plot points on a sphere using spherical coordinates?

Currently, I have a matrix containing a list of spherical coordinates. Column 1 is r; r=1 for all points. Column 2 is theta and column 3 is phi. Each row is an ordered triple (r,theta,phi). Is there a ...
1
vote
1answer
85 views

Ploting legends in contourplot

In Mathematica 8. Given this: ...
4
votes
1answer
169 views

BoxWhiskerChart - 10-90th percentile instead of min - max

I am trying to draw a custom BoxWhiskerChart with alternative values determining fences. I have data that has a lot of outliers and I have to compare it to another chart that has 10-90th percentile ...
1
vote
1answer
78 views

ListPlot[] code for CSV file not working

I have a CSV file with $9$ columns. I want to plot them in the following way. Column $1$ will be along the $X$-axis. Any point $(x_i, y_i)$ of $i$-th curve in the plot will have the $x$ value from the ...
0
votes
0answers
70 views

StreamPlot,StreamPoints and the Fisher's equation

I'm trying to reproduce a StreamPlot from a vector field encoundered while analyzing the Fisher's equation (http://en.wikipedia.org/wiki/Fisher%27s_equation), for a ...
1
vote
2answers
234 views

Plotting 3D piecewise function with distinct colors

I want to draw the following picture in Mathematica as shown below with distinct color for each section.
0
votes
2answers
57 views

intersection between two curves in Mathematica [duplicate]

I have a ListLinePlot of some datas and a plot of a constant function. How can I find the intersection point? My data are: ...
2
votes
2answers
73 views

Changing axes in ContourPlot

I'm new using mathematica. I'm plotting a funcion that depends on two variables (r and C) let's say z= r^2+c^2 When I use ContourPlot, level curves are shown in a r-C plane. I'm trying to obtain the ...
3
votes
1answer
55 views

How does epilog position work in logplots?

I'm trying to use Epilog in my plots but the position of the Epilog isn't making much sense. As a minimal example consider, ...
0
votes
1answer
131 views

How do I subtract two contours?

Suppose I have this contour described by the equation the root $z$ of this equation $$ \frac{1}{x^2 + y^2} + \frac{1}{xz} = 2y $$ Now suppose the equation is tweaked slightly, with an addition of ...
3
votes
3answers
149 views

How to simultaneously change the color and thickness in ContourStyle?

When plotting contours with ContourPlot, one can use the option ContourStyle to change the contours of the plot. With the ...
0
votes
1answer
70 views

Why won't mathematica plot the 3D Contour of this function?

I want to find the 3D contour of the equation1: ...
0
votes
1answer
101 views

Legend in a Show

I am trying to put some legends on a graph but I am not able to do that. This is my code: ...
2
votes
1answer
130 views

How to get a uniformly distributed list of points from a B-spline function

I created a spline function from a list of points and made a plot as follows: ...
0
votes
0answers
52 views

Help to plot Poincare section for a system of delay differential equations

I'am trying to plot Poincare section for a 4-dimentional system of Delay differential equations. I don't know how to specify initial conditions. Can I use each of the code in the following ? Also how ...
0
votes
0answers
48 views

how to create a slope field in mathematica? [duplicate]

Anyone have any good resources for learning mathematics, already sufficient in JAVA. not math... only in calc 2. I want to plot the slope field of ...
0
votes
2answers
76 views

How to plot multiple curve in a same plot with Manipulate

The manipulate function in Mathematica allows the users to adjust the values of the parameters in a graphical way. How do I plot multiple functions in a same graph and also I can use manipulate at the ...
3
votes
2answers
140 views

Problem with Poincare section

these are equations for some double oscillators: $x'(t)=p, p'(t)=-x-3y, y'(t)=q, q'(t)=-y-3x$ I would like to plot the Poincare section for collection of $(y,q)$ when $x=0$ and $x'(t)>0$ (or for ...
2
votes
1answer
77 views

How does one get Mesh lines at 0 in ParametricPlot3D?

The following is in the documentation (MMA 10) under ParametricPlot3D -> Options -> Mesh : ...
1
vote
3answers
88 views

Initial Image Size of dynamic plot

I have a dynamic plot. I want to set an initial image size and then be able to resize it by dragging with the mouse. When the image is updated, I want to maintain the "dragged" size. A naive attempt ...
1
vote
1answer
96 views

geometric construct in GeoRegionValuePlot doesn't work?

As stated in the documentation of GeoRegionValuePlot: The reg can be Entity objects such as countries corresponding to extended geographic regions, or geometric ...
-1
votes
2answers
108 views

3D Plot from 3 Polynomial Equations

Here is my code: ...
0
votes
1answer
79 views

Density map strange mapping of color

I tried to convince Mathematica 8 to plot a density map of a function: $$f(x,y) = \frac{2(x^2 - y^2)-1}{(x^2 + y^2)^2}$$ with color scheme called "TemperatureMap". At $x = \pm 1$, $y = 0$ it's ...
0
votes
0answers
29 views

To write an array by varying two variables

I have a equation G=2X+Y, Now i changed X and Y together from 1 to 10 . I got various values Of G. I have done this by using Table command ,Now I want to plot a graph between G and X, i could not find ...
4
votes
1answer
79 views

Why GridLines->function does not work with LogPlot?

Version 10: This works: ...
10
votes
2answers
548 views

What are the standard colors for plots in Mathematica 10? [duplicate]

Mathematica 10 release appears to have changed the default styling of plots: the most visible changes are thicker lines and different default colors. Thus, answers to this stackoverflow question are ...
7
votes
1answer
161 views

How to get grid lines at all (log) tick marks in Version 10?

In Version 7 using GridLines -> Automatic (or All) would put a grid line at every log-spaced tick mark: ...
8
votes
1answer
148 views

Why does GridLines option fail with Function?

The Plot option GridLines can be specified either as a list of explicit values at which to draw the lines, or as a function that ...