Questions tagged [plotting]
Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
15,478
questions
0
votes
0
answers
26
views
?AspectRatio? setting to obtain equal length pr pixel on all axes [duplicate]
Like these does:
Show[Graphics[Rectangle[{2, 1}, {15, 2}]]]
ParametricPlot[{t,t t},{t,0,2}]
how do I create a Plot[] with ...
0
votes
0
answers
558
views
An error message with NIntegrate and inability to plot the integrand
I took a function of x which depended on parameters on m,n,a,y and then first summed up the n from -Infinity to Infinity and then I set the other parameters to some random values and then I asked it ...
0
votes
0
answers
178
views
How to add a subplot in corner of plot? [duplicate]
How is something like the plot with subplot shown in this image achieved with Mathematica?
0
votes
0
answers
76
views
How to plot data of complex numers [duplicate]
Here I have some output calculated for different values of some parameter. I want to plot these points in complex plane Re, Im and present them with ListLinePLot. How can I do that, I tried many times ...
0
votes
0
answers
23
views
Question about a ParametricPlot with a shading grey family of lines and/or different sizes [duplicate]
So, I have this function of the polar angle $\theta$, with a varying parameter $t$:
{Cos[\[Theta]] (1 + Sin[t]), Sin[\[Theta]]}
and I want to draw it in a ...
0
votes
1
answer
2k
views
Mathematica Semilog (LogLinearPlot) using x,y points from table [duplicate]
I am trying to use the LogLinearPlot in Mathematica 9 to create an x-axis only logarithmic plot that looks like this (Based on N^1.85 graphing paper) http://pingfire.com/
What it does is model a ...
0
votes
0
answers
73
views
Mathematica how to plot objects with labels in 3D plot [duplicate]
The following code plots 3 cuboids, each with a label at the lower left vertex. The label is meant to be part of the cuboid object. Yet, since Text[] is used to ...
0
votes
0
answers
53
views
How to manipulate lists to get only part of the value [duplicate]
This is really a question about manipulating the output of Maximize. I have a function of 2 variables, defined thus:
...
0
votes
0
answers
31
views
How do I project a list of strings from another list to use in ChartLabels? [duplicate]
Say I have the following:
...
0
votes
0
answers
60
views
Custom FrameTicks not working [duplicate]
I would like to have a custom ticks on x-axis on my ListPlot, but nothing is showing, what am I doing wrong?
...
0
votes
1
answer
185
views
InputField equations and Solve
I'm trying to get this piece of code to work:
...
0
votes
0
answers
824
views
Plot basins of attraction using separatrices for particular pendulum [duplicate]
How can I plot the stable and unstable separatrices to make a graphic of the basins of attraction of this differential equation?
...
0
votes
1
answer
2k
views
Use the same scale for two ListContour plots [duplicate]
I have two ListContourPlots which have different min and max height values.
...
0
votes
0
answers
39
views
I'm definitely giving an integer, but I get Nest::intnm [duplicate]
I am attempting to make a small interactive plot that displays the plot of Cos iterated its times. Whenever I try to evaluate my ...
0
votes
0
answers
343
views
Change the order of magnitude on the y axis Ticks with ListPlot [duplicate]
I have some data plotted with ListPlot.
The values on the y axis range from -411230.40068*10^9 to -411230.20005*10^9.
Mathematica, when plotting the data, shows me on the y axis only the value -4....
0
votes
0
answers
191
views
Is there a way to add arrows along a parametric curve inside a manipulate function? [duplicate]
I cannot find a good way to add arrows along a parametric curve that I used NDSolve to get. I have written everything inside ...
0
votes
0
answers
124
views
How to add something like a shadow to my resulting figure? [duplicate]
after plotting this function:
...
0
votes
0
answers
315
views
How can I convert a plot to pdf or eps without errors?
Mathematica 9.0.1, Linux. I try to save a plot as a pdf. I tried four different options. In each case some errors appeared as blank space
( http://yadi.sk/d/h1koyDci4z3rc ). I also tried to save as ...
0
votes
0
answers
54
views
How to tell Mathematica to use Real Only Mode [duplicate]
How do I tell Mathematica to use real only mode. For example if I want to graph $(x-1)^{1/3}$ for $-3<x<3$, I need to use Real Only mode to get the right graph.
0
votes
0
answers
90
views
LogLinearPlot analog for Plot3D? [duplicate]
Is it possible to make 3D plot in logarithmic coordinates? I need analog LogLinearPlot to plot 3D figure in logarithmic x, or y, or both coordinates.
0
votes
1
answer
417
views
Reflection transform of function [duplicate]
I am trying to find the reflection function. Here is my function and its graph.
...
0
votes
0
answers
88
views
Tooltip and table in plot [duplicate]
Plot[Tooltip@{1.` k^2, 1.2` k^2, 1.4` k^2, 1.6` k^2, 1.8` k^2, 2.` k^2}, {k, -2, 2}]
gives
But why does
...
0
votes
0
answers
104
views
how to interactively select points inside certain region in a plot [duplicate]
Very often I encounter a situation that I want to select some points inside certain areas of a plot. For example,
...
0
votes
0
answers
224
views
DensityPlot on spherical surface? [duplicate]
I just checked this example Construct a Globe Showing All Weather Stations. It looks good, but I would like to add a density plot of the stations on the spherical surface.
This can be done with the ...
0
votes
0
answers
293
views
Plot in cylindrical coordinates [duplicate]
I am trying to plot a simple vortex in cylindrical coordinates give by
$v_{\phi} = \frac{\Gamma}{2 \pi r}$
Is there an alternative method to plot this than, for example, using streamplot and ...
0
votes
0
answers
166
views
Plot using Manipulate or Animate [duplicate]
Possible Duplicate:
PolarPlot render oddities
When I use manipulate or animate function, the result shows a non-smooth plot. How to make the manipulate or animate commands show good and smooth ...
0
votes
0
answers
538
views
How to ContourPlot a Table? [duplicate]
Possible Duplicate:
Why is ContourPlot not displaying this curve?
Why do I have to put Evaluate[] here
I'm trying to plot certain contours of a function $f:\mathbb R^2\to\mathbb R$.
What I tried ...
0
votes
1
answer
518
views
Plotting partial sums and its Cesàro means
I have the function as shown in the first line of the code and its partial sum in the second line of the code below.
...
0
votes
0
answers
2k
views
Multiple ranges in one plot [duplicate]
Possible Duplicate:
1 Plot, 2 Scale/Axis
Generating a broken or snipped axis in ListPlot
I have data in several ranges which I, when I plot together, is not very useful. I was thinking about ...
0
votes
0
answers
85
views
Extracting box coordinates [duplicate]
Possible Duplicate:
Dimensions of the results of Text[] within Graphics[]
In writing the following code, I had to figure out what values to give d by trial and error. Is there a way to extract ...
0
votes
0
answers
90
views
Dynamic Chart Elements in Bar Chart [duplicate]
Possible Duplicate:
How to execute a function each time the slider is dragged?
This is my code:
...
0
votes
0
answers
112
views
How to obtain xyz-axes of same length? [duplicate]
Possible Duplicate:
Controlling the 2D $x–y$ aspect ratio of a 3D plot
I am plotting 1000 points in a 3-dimensional cartesian coordinate system, the plotting range for the x, y, z axes is set to {...
0
votes
0
answers
103
views
Width of two plots [duplicate]
Possible Duplicate:
Vertically aligning two separate plots
Trying to illustrate the sums of functions, high school math class...
Found a great demonstration on interference patterns, so used ...
0
votes
0
answers
188
views
Why does mathematica crash when I rotate a 3D graph? [duplicate]
Possible Duplicate:
SIGSEGV error with 3D Plots
I just recently installed mathematica 8 on my linux machine, running ubuntu 11.10
I decided to tun and test mathematica so while the terminal was ...
0
votes
1
answer
30
views
How to change FeynArts Paint style settings?
I'm a Mathematica stylesheet enthusiast. I love using beautiful stylesheet instead of the default one, such as Dracular. I'm also a physics researcher on scattering amplitudes, which forces me to use ...
0
votes
1
answer
77
views
Text missing when exporting a plot as .pdf
I have Mathematica 13.1 on Windows 10. The problem is not present on Mathematica 12.1!
I try to export the following plot:
...
0
votes
1
answer
96
views
ListPlot doesn't start from the origin
I've just started using Mathematica for one my university modules, so I tried replicating the results from our practical.
I've defined a function
...
0
votes
1
answer
400
views
Opacity or related issue with DensityPlot3D
I'm trying to make use of the function DensityPlot3D with the following specific example
...
0
votes
1
answer
533
views
Combining gradient color schemes on a ContourPlot [duplicate]
Starting point
Function of interest:
$$
f(x,y)=-\frac{2 x^5+x y+2 y^7}{x^2+y^2}
$$
f[x_, y_] = -((2 x^5 + x y + 2 y^7)/(x^2 + y^2))
ContourPlot:
...
0
votes
1
answer
126
views
Odd behavior of ListDensityPlot [duplicate]
I ran into some odd behavior with ListDensityPlot. I simplified the data as much as I could. If I simplify it further, the odd behavior goes away. What might be going on here?
...
-1
votes
2
answers
302
views
Manipulate NDsolve 1D-reaction diffusion equation
I want to solve the following 1D-reaction diffusion equation:
$$\frac{\partial}{\partial t}u(t,x)=\alpha\,\frac{\partial^{2}}{\partial x^{2}}u(t,x)+a\,u(t,x)$$
$$u(t,0)=0\,\,\,\,\,\text{et}\,\,\,\,\,u(...
-1
votes
2
answers
268
views
How to cut legs of 'pants' cobordism?
How do I have to change math expression or imaging intervals in order to cut 'legs' by sagittal secant planes I marked with red?
...
-1
votes
3
answers
429
views
Area of polar plot
How can I plot and find the area of this region?
-1
votes
2
answers
556
views
Reducing the number of plotmarkers in listlineplot
Here is my code:
...
-1
votes
2
answers
4k
views
Plotting a parametric plot of two functions
I have two functions f1(x) and f2(x). I want to plot them such that f1 is on the axis of ...
-1
votes
2
answers
175
views
How to plot this implicit function? [closed]
The command
ContourPlot[{RealAbs[x + 1/y] + RealAbs[10/3 - x + y] ==
10/3 + y + 1/y}, {x, -5, 5}, {y, -5, 5}, PlotPoints -> 50]
, as one sees, draws ...
-1
votes
3
answers
2k
views
Zooming a portion of a plot [duplicate]
I want to zoom/exaggerate a portion of the following plot for t between 1 and 2, such that ...
-1
votes
2
answers
6k
views
Plot a cone and a cylinder [closed]
I have to plot 0=x^2-2y+y^2 and z=sqrt(x^2+y^2) for a class project but Mathematica does not accept raw input, any ideas? I have tried with "cylinder" in the functions but it does not work.
-1
votes
1
answer
1k
views
How to get the coordinates of points within an image?
How can I get the coordinates of an image, and make Mathematica draw the image from the coordinates found? I am interested in just the outlines of the regions.
Here is an example of the kinds of ...
-1
votes
1
answer
1k
views
Creating a Logarithmic Scale Plot
I am trying to plot a function on a Log scale, but am not getting the correct looking output. Any ideas on what could be wrong. ...