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

learn more… | top users | synonyms (4)

5
votes
5answers
507 views

Prevent Part[] from trying to extract parts of symbolic expressions

If you have a list, e.g. {1, 2, 3} then you can extract the $k$th part using Part (...
4
votes
1answer
154 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 ...
2
votes
3answers
91 views

Plot least squares curve on Linear Log Plot

I have the following Data: ...
1
vote
1answer
76 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 ...
1
vote
2answers
108 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
80 views

Ploting legends in contourplot

In Mathematica 8. Given this: ...
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 ...
4
votes
3answers
424 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 ...
0
votes
2answers
41 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 ...
2
votes
2answers
69 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 ...
0
votes
1answer
99 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 $w$, ...
0
votes
2answers
53 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: ...
8
votes
1answer
252 views

How does PlotLegends actually work with ListPlot3D?

I'm sensing this might be a rookie mistake but normally I roll my own legends but decided to try the built in legends for a ListPlot3D. ...
2
votes
1answer
71 views

How does one get Mesh lines at 0 in ParametricPlot3D?

The following is in the documentation (MMA 10) under ParametricPlot3D -> Options -> Mesh : ...
0
votes
1answer
92 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: ...
3
votes
1answer
48 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, ...
3
votes
3answers
147 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
67 views

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

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

Gray background in export pdf

I am trying to output a simple plot with a legend and the output keeps coming out with a gray background. A simple example is the following: ...
3
votes
2answers
316 views

Transparency rendering problems in Mathematica 10 (Mac)

For some weird reason, they apparently changed the styling of contours in ContourPlot for 10.0. Here is a comparison of the results for V9 and V10 (first 9, then 10): ...
3
votes
2answers
129 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 ...
0
votes
0answers
46 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
2answers
90 views

Solve differential equation with 3 variables and plotting contour

Suppose we have this equation: $$ 2 - x g(z) f \left(x, \frac{\partial y}{\partial x}\right) = 3y $$ using initial condition $y = 2$ where $g = \left| \frac{3}{2-iz} \right|$ and $f = ...
3
votes
3answers
258 views

ArrayPlot and non-integer PlotRange

There seems to weird bug regarding non-integer PlotRange in ArrayPlot. For example... ...
11
votes
4answers
392 views

Plot the minimum of a list of functions

This is my first question on any stack-exchange site and I'm also very new to using Mathematica software so please excuse/correct me if I mess up. I would like to take a list of functions of a single ...
8
votes
2answers
395 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 ...
20
votes
5answers
454 views

Compiling ColorFunction for faster complex phase-amplitude plots

I have gotten into the habit of plotting complex-valued functions on a plane using a color-function along the lines of ...
1
vote
3answers
84 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
2answers
121 views

Rough mesh lines in partially opaque 3D plots

If I plot a surface with mesh lines, they show up fine (of course). However, if the surface is even just a little transparent, they get quite rough. Compare this to setting the Opacity to 1: ...
-1
votes
2answers
106 views
1
vote
1answer
80 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 ...
6
votes
1answer
105 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: ...
0
votes
1answer
78 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
67 views
16
votes
1answer
275 views

Specifying non-conflicting PlotTheme options

I am trying out Mathematica 10 on https://programming.wolframcloud.com. $PlotTheme interested me a lot because it finally produces nice plots (probably) without the ...
6
votes
4answers
168 views

PlotLegend disappears if Plot is used with ColorFunction

Working some charts on V10, I discovered that PlotLegends disappears if used together with ColorFunction inside ...
4
votes
0answers
67 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 ...
1
vote
2answers
65 views

ParametricPlot - Problem with ColorFunction

I am unhappy with the following mapping: ...
12
votes
1answer
282 views

What is wrong with triangle PlotMarkers in v.10.0.0?

In Mathematica 10.0.0 we have built-in graphical triangle PlotMarkers. Let us look closer on them: ...
0
votes
0answers
31 views

complicated color function and color bar legend (summary of the results from previous relevant posts)

At first let me apologize. I should have read the policies of this forum before attempting a post. I was more accustomed to a moderated forum like MathGroup than such an active one like the ...
35
votes
4answers
2k views
0
votes
0answers
83 views

Timing: how make a program to work faster using built in functions and tables

I want to improve my code to make it working faster even for very large numbers. ...
10
votes
1answer
101 views

BaseStyle ->AbsoluteThickness[somenumber] doesn't work in version 10?

Users of version 9 might be surprised by this outcome: Plot[{Sin[x], Cos[x]}, {x, 0, 5}, BaseStyle -> AbsoluteThickness[5]] It seems that ...
13
votes
2answers
388 views

How can I get LineLegend to pick up my plot's BaseStyle?

The new legends functionality in version 9 really simplifies creating legends, and it automatically picks up the styles of the lines. ...
1
vote
2answers
63 views

Combining Plot and ListPlot in a manipulation [closed]

I have a plot of data points using ListPlot and another plot using a function. I want the function to look like the data points. I am able to use ...
0
votes
1answer
39 views

Using Show to place a ParametricPlot on a LogLog scale

I wish to have a few plots on the same graph: ListLogLogPlot, LogLogPlot and a ParametricPlot drawing lines perpendicular to the x-axis. The problem is however that ParametricPlot doesn't seem to have ...
0
votes
1answer
105 views

Can mathematica rearrange an equation and solve/plot it? [closed]

Suppose we have this equation: $$ sin(x+y+z) = x^2y - wz$$ I want mathematica to plot contours of $x$ with axes of $y$ against $z$ in the limit $w \rightarrow 1$, tried this code but didn't work. ...
0
votes
2answers
58 views

Plot integration curve of a system of ODEs

I'm really n00b in Mathematica, so please bear with me, as this seems to be my only option to learn how to do what I wany to do. I have a system of two differential equations: ...