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
1 views

PlotLengeds disapears if used ColorFunction

Working some charts on V10, I discovered that PlotLegends disappears if used together with ColorFunction inside ...
0
votes
0answers
9 views

Decreasing timing of evaluation

I want to improve my code to make it faster even for very large numbers. ...
0
votes
0answers
23 views

How to change the default AspectRatio for Plot to Automatic in 10.0.0? [on hold]

The default AspectRatio for Plot is set to 1/GoldenRatio in 10.0.0, how can I change this? I know I can set the option of a individual Plot like so, but I'd like to not have to do this every time: ...
1
vote
2answers
41 views

Combining Plot and ListPlot in a manipulation

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
33 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
83 views

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

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

How to show two functions on one plot [on hold]

I am new user of Mathematica. I have G = 2 x + 5 and H = 5 x + 7. I changed x from 1 to 10 ...
0
votes
2answers
46 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: ...
2
votes
1answer
180 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): ...
1
vote
0answers
34 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
47 views

Enlarging a contour plot

I just started using Mathematica, and when I entered the following: ...
3
votes
1answer
78 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
16 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
99 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
38 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
1answer
58 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
85 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
58 views

Why Plot3D does not accept Epilog option [on hold]

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
48 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
59 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
56 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 ...
-5
votes
0answers
67 views

Four dimensional phase space [on hold]

I have two coupled oscillators which, its Hamiltonian reads, $H = 1/2 (p^2 + q^2) + x^2 + y^2 + x y$ Where, $p$ and $q$ are the momenta corresponding to $x$ and $y$, respectively. By the usual ...
-2
votes
1answer
53 views

Plot various functions in different intervals [on hold]

I need to do some really easy in WolfarmAlpha online. I want to to plot 2x for {1 to 3} and ...
0
votes
1answer
62 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
208 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 ...
-1
votes
0answers
123 views

Plotting Contour Family of Curves [on hold]

So basically here's what the code is supposed to do: $$ L(T_e) = 10^{-9} (T_e - 0.1) $$ $$ Z_{lcr}(T_e) = \left ( \frac{1}{R} + \frac{1}{10^9 iL} + 0.1i \right )^{-1} $$ $$ Z_{load} (T_e) = ...
-1
votes
0answers
37 views

Plotting The Hyperbolic Tangent? [on hold]

I'm having a problem with Mathematica 9 and a built in function called the- Hyperbolic Tangent. https://reference.wolfram.com/mathematica/ref/Tanh.html The issue is, Mathematica 9 insists on plotting ...
0
votes
1answer
51 views

Three dimensional ParametricPlot [on hold]

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
38 views

Plotting a multivariable function [on hold]

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
80 views

How to improve a DensityPlot? [duplicate]

Given that ...
1
vote
1answer
97 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
130 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
145 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
151 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
113 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
85 views

Cannot plot a list in ListPlot3D

I have this data files: ...
1
vote
3answers
227 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
37 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
34 views

How can I plot a field with associated polarization [closed]

I want to plot a 2D gaussian beam intensity cross section with polarization lines (horizontal, vertical, circular, radial etc) but I don't know how.
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
54 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
44 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
112 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
108 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
94 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 ...
11
votes
0answers
128 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 ...