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
0answers
68 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
66 views

ParametricPlot - Problem with ColorFunction

I am unhappy with the following mapping: ...
25
votes
1answer
341 views

Is it possible to define new PlotTheme?

In version 10 one can define, say, $PlotTheme = "Scientific" Which changes the appearance of all plots. This is fantastic because on the one hand, I can have ...
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 ...
18
votes
1answer
383 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
2answers
92 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 = ...
10
votes
1answer
105 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 ...
1
vote
2answers
122 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: ...
6
votes
4answers
171 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 ...
0
votes
0answers
84 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. ...
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
40 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
108 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: ...
3
votes
2answers
327 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): ...
2
votes
0answers
48 views

Plotting multiple curves with multiple axes (>2) on the same plot

I'm attempting to generate a graph that depicts mulitple time series, measured in different units (but with a common time scale) on the same graph. This is a generalization of the familiar ...
1
vote
2answers
50 views

Enlarging a contour plot

I just started using Mathematica, and when I entered the following: ...
3
votes
1answer
97 views

Wavelength, wavenumber, energy and frequency in a ruler

I would like to generate set of four axis relating wavelength, wavenumber, energy and frequency in an arbitrary range. Like in this image but without the labels such as "RADAR". The selection of ...
2
votes
0answers
18 views

Customizing the distance of plot frame tick labels to frame [duplicate]

How can I customize the distance between the frame tick labels in a plot and the frame of the plot? MWE here —nothing special: ...
3
votes
3answers
109 views

Customizing decimal mark used in plot frame tick labels

I am using the Plot function in a usual way. I use Mathematica 9.0.1.0 in English (I do not know if it is available in other languages, but I do not mind), and as a ...
-3
votes
0answers
47 views

complicated color function (no rescale)

Continue with the same issue of the previous relevant threads. The following is from the replies I got and works as desired. ...
0
votes
0answers
66 views

puzzled with ColorData

At first let me thank, from this point as well, those that they replied to my previous queries. From a reply I got, I obtained finally the desired graph. ...
3
votes
1answer
95 views

Arranging and combining multiple plots and graphics

I have 4 plots/schematics. They are either created with ArrayPlot[], ParametricPlot3D[] or Graphics[]. As I play with calculation resolutions their absolute sizes will change. I would like a neat way ...
0
votes
1answer
56 views

Density plot of asymptotic behaviour of a linear system

Good morning, I have an ODE linear system $\dot{\vec f} = A \vec f$ depending parametrically to two real parameters, s and p. I'd like to get a density map of the solutions of $f_A/(f_A+f_B)$ at ...
2
votes
1answer
62 views

Why Plot3D does not accept Epilog option [closed]

I am trying to visualize 3D points with Plot3D using the option Epilog. If you check the options of Plot3D ( Options[Plot3D] ), it can be seen that Epilog is one of ...
-1
votes
1answer
52 views

Plot CPU time vs iteration? [duplicate]

I would like to generate a plot of CPU time vs number of iterations. For example, if I were to calculate the solution of a system of differential equations in state-space form using the summation of ...
0
votes
1answer
62 views

Find exact value

I want to know exact x'[t] value where z[t]=0 I know approximate x'[t] value is 107 but I cannot find how to find exact x'[t] value ...
1
vote
1answer
74 views

add a color bar legend to a 3D plot

This has a connection to the previous post here: puzzled with a color function Also, a recent post of mine appeared here: Create a color bar plot legend but I should have solved the problem with the ...
-2
votes
1answer
56 views

Plot various functions in different intervals [closed]

I need to do some really easy in WolfarmAlpha online. I want to to plot 2x for {1 to 3} and ...
0
votes
1answer
65 views

Unexpected behaviour plotting a PDE solution

I'm solving some coupled PDEs (Eb1 and Ef1) and what I plot for Eb1 appears to be correct. However, for some reason, when I go to plot Ef1, I get nothing. MWE is below (beginning is constants and ...
3
votes
3answers
222 views

Using a complicated function as color function

I have an ellipsoid with parametric equations lst = {10*Cos[u]*Sin[v], 3*Sin[u]*Sin[v], 2*Cos[v]}; I define a function ...
0
votes
1answer
54 views

Three dimensional ParametricPlot [closed]

Why do I get nothing from the ParametricPlot3D, ...
1
vote
1answer
72 views

How to avoid plotting lines not defined in a Which function? [duplicate]

How to avoid plotting lines not defined in a Which function? ...
1
vote
1answer
44 views

Plotting a multivariable function [closed]

m[x_, y_] := 0.9*Exp[-((x - 1)^2 + (y - 1)^2)] + 0.5 Exp[-(3^2 ((x - 2.5)^2 + (y - 1.5)^2))] I'm trying to create a 3d plot for the function above. I tried ...
1
vote
1answer
81 views

How to improve a DensityPlot? [duplicate]

Given that ...
1
vote
1answer
103 views

Liouville theorem demonstration

My goal is to create a demonstration of the Liouville theorem in 2D phase space. I made up an interesting potential energy function $U(x) = (x-4)x^3 + 27$, so that the minimal energy of system is ...
3
votes
1answer
152 views

Create a color bar plot legend

I have the following list of parametric equations lst = {10*Cos[u]*Sin[v], 3*Sin[u]*Sin[v], 2*Cos[v]}; I define the following color function ...
4
votes
2answers
152 views

How to plot small values

I wonder, why small values (eg. 10^-1600) would not show on a plot? Here is a small example, where Evaluate gives a list of very small values and Plot does not show them, starting from x=20. ...
3
votes
3answers
158 views

Connect each point in the plot with all adjacent points

I have the following simple code. I need to connect each point in the plot with all adjacent points in vertical or horizontal line. ...
3
votes
2answers
116 views

How to put the legends above the figure and make them vertical? [closed]

The following way will put the legends on the right of the figure, and the three legends are vertically aligned. ...
0
votes
2answers
87 views

Cannot plot a list in ListPlot3D

I have this data files: ...
1
vote
3answers
234 views

How to show the intersection points of three functions?

How can I show the intersection points of three functions in my Plot? I really can't figure it out. ...
0
votes
1answer
39 views

Combining list x-y data with a list of errobars into one list (mathematica-style)

Suppose I have a list of data I can ListPlot: { {x1,y1}, ... } , and a list of y-errorbars: {erry1, erry2, ... } Is there ...
0
votes
0answers
60 views

Graphics elements in a 2D lattice [duplicate]

I'm trying to write a small piece of code that will take the RHS of a first order linear ODE and return a slope field sampled at a few points. I have written: ...
1
vote
2answers
55 views

“not a list of numbers” and “cannot be used for replacing ” [duplicate]

I am trying to plot a function which is based on the solution of some equation; I could get the correct figure but only after lots of warnings are printed out. The following is a minimum version of ...
0
votes
3answers
45 views

Saving many plots in files [duplicate]

I made a table of ten plots: Table[Plot[u[t, x] /. wws, {x, -10, 10}], {t, 0, 10, 1}] I want to save them all to my file system. I know, that I can save each ...
2
votes
4answers
132 views

How to add PlotLegends in a Show function?

I have multiple ListPlot in a Show where i want to add PlotLegends, but adding the ...
1
vote
2answers
114 views

Unexpected Plot3D behaviour

The following illustrates what appears to be an incorrect Plot3D for this polynomial. I have forced the function to complex argument, changed ranges. In contrast, ...
1
vote
1answer
101 views

How to plot on a symmetric axis/frame

Say one had a function that was itself asymmetric about the abscissa, but one desired to plot it on a symmetric ordinate. How can this be achieved with Plot ...