Questions tagged [plotting]
Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
15,613
questions
0
votes
1
answer
83
views
Plot an ODE solution for a list of specific constants [closed]
Let's say I have a 1st order ODE and want to plot the solution. What I have been doing until now is:
...
0
votes
0
answers
142
views
blank part in the contour plot [duplicate]
Why did my listcontourplot have some blank part like the below?
I've checked that my data is in the range of [2.5, 4].
Is it because that it changes so fast??
0
votes
1
answer
178
views
Some problems about ListPlot3D, plot 6 faces of a 3D region [duplicate]
I get the data of six faces of a 3D region.
...
0
votes
0
answers
134
views
Plotting a 4dimensional spherical function In mathematica [duplicate]
Im trying to plot the results of the schroedinger equation for hydrogen in mathematica
this is the function I defined:
...
0
votes
0
answers
164
views
Export a 3D array (with time) from matlab to mathematica
I am using again Mathematica and enjoying it.
I have a question, is there a way to do a "time" plot of 3D vectors?
I try to be more clear, I have 12 vectors (3D vectors). They are changing over ...
0
votes
1
answer
401
views
Manually choosing colors in ListPlot
I have a ListPlot of 4 data sets (tables) and I want to manually choose what color each one has.
data1 = Table1
data2 = Table2
etc.
and then
...
0
votes
1
answer
123
views
0
votes
1
answer
273
views
Plot financial data: timestamp + value
I have approximately 250,000 rows of data that looks like:
...
0
votes
0
answers
29
views
Options from Graphics command [duplicate]
What do it mean $[[1]]$ in the following command?
Graphics[...][[1]]
How about the following command?
...
0
votes
0
answers
361
views
Graphics Plotfield
A number of older books use the command:
<<Graphics`PlotField`
But Mathematica 10.0.2 says it cannot find it. Now, I know ...
0
votes
0
answers
283
views
GeoLabels/Tooltips in Geographic Plots from Dataset
I am looking to plot a list of list of regions, and attach some data to the GeoLabel.
All the data is stored right now in a Dataset that contains entries of the form ...
0
votes
0
answers
32
views
Simple Sin plot generates unexpected output? [duplicate]
I an trying to do a very simple smooth Sin wave...
Plot[Sin[ 2 Pi 440 t], {t, 0.0, 0.1}]
...but I am getting an unexpectedly non-smooth plot for it...
What is ...
0
votes
0
answers
387
views
How to fix the PlotRange on LogPlot? [duplicate]
I'm plotting families of Boltzmann'esque distribution functions $\propto\exp\left(-{\dfrac{\varepsilon+{\mathcal O}(\varepsilon^2)}{k_\mathrm{B} T}}\right)$.
But it won't let me fix the ...
0
votes
0
answers
134
views
Using ContourPlot of a Potential surface Image
I did this image, using Contour plot:
and the code is:
...
0
votes
0
answers
175
views
How to change the plot starting point? [duplicate]
I tried to translate this Python plot to Mathematica:
Python:
Mathematica:
ListLinePlot[RandomReal[{0, 1}, 10], Filling -> Axis]
The Mathematica code works ...
0
votes
0
answers
45
views
AspectRatio on ListLinePlot only considering ticks and not values [duplicate]
I want to plot some data in a ListLinePlot where the x- and y-values differ by at least 2 orders of magnitude. In this plot the x- and y- axis should not be scaled differently. This is the result that ...
0
votes
1
answer
942
views
Export graphic as Pdf gives incorrect font size [duplicate]
In Mathematica 10.0.2 I have this plot:
Now, when I export as pdf, I have these huge fonts. Any workaround?
0
votes
0
answers
123
views
ErrorBarFunction styles [duplicate]
I am having trouble making sense of the help I have found for the ErrorBarFunction command. I am looking for basic instructions on how to change the width, style, and color of my error bars. ...
0
votes
1
answer
156
views
Weird Vectorplot
I would like to Plot a simple Vector Field, all vectors normalized to one. If i for example take a evenly distributed sample of the field and plot it with the ListVectorPlot function, i get a plot ...
0
votes
2
answers
106
views
trouble with adding a legend to a plot
I am having trouble with adding a legend to a plot.
this is my code,I tryed to use serval things,like
...
0
votes
1
answer
99
views
0
votes
0
answers
50
views
Plotting the real positive solution to a parametric equation [duplicate]
I have the following parametric equation
$$
x^2-a=0
$$
where $a$ is a given parameter. I would like to plot the nonnegative real root ($\sqrt{a}$) using NSolve as $a$ varies from $0$ to $1$. Can ...
0
votes
1
answer
772
views
Plot table versus table [duplicate]
I have two tables like:
nex1 = Table[l3*10^3/4*10^14, {l3, 1, 30, 1}];
nex2= Table[l4, {l4, 1, 30, 1}];
How can I plot nex1 versus nex2 so that nex1 is x axis ...
0
votes
0
answers
398
views
Break axes on listcontourplot
I would like to insert a break on both of the axes of a ListContourPlot near the origin, to include a datapoint which has axis values quite far away from the others. The question is similar in nature ...
0
votes
0
answers
104
views
How to find only the negative Imaginary solutions and positive Real solutions?
Following this post Help Please : Error in plotting the solutions of FindRoot
, I want to plot only the negative Imaginary solutions Wi(K)<0 and positive Real solutions Wr(K)>0.
Please, how do it?
...
0
votes
0
answers
29
views
Filling not working when function in SetDelay [duplicate]
I want to use Plot with a SetDelay. Then Filling does not work. In the following, the first works, the second does not. I would like to get the second to work:
...
0
votes
0
answers
53
views
Direction of change plot in 2 images taken from video
I have two successive images from a video and I would like to plot the largest direction of change from the first image to the second image as a vector plot.
For example, if image 1 was {{0,1,2},{0,3,...
0
votes
0
answers
287
views
Distance between ticks and axes [duplicate]
I've created a plot using the following code:
...
0
votes
0
answers
150
views
Using Animate with ListPointPlot3D on more than one list
I have a couple orbits defined which have been mapped into one array as shown:
...
0
votes
0
answers
109
views
Unequal behaviour of FindRoot to two similar functions
Unfortunately, I have some difficulties to plot a function. Here is my code:
...
0
votes
0
answers
53
views
Plot is not accurate [duplicate]
I defined a matrix and use it to transform a square defined by four points. (In[85])
It seems the transformation keeps the length of the square. (In[91])
Now I plot the original square, the axis of ...
0
votes
0
answers
71
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
0
answers
135
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.
...
0
votes
0
answers
23
views
Manipulate Tutorials? [duplicate]
I am wanting to combine equations with sets of static data points in a manipulate and do the curve fitting by moving the slider bars on my independent variables. The best examples of this art may be ...
0
votes
0
answers
93
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:
...
0
votes
0
answers
780
views
Viewpoint options for a 3D plot [duplicate]
Let's say I created a 3D plot in Mathematica. It's not oriented the way I want it, so I manually rotate it (in the output cell) to a desired view. (I tried playing with some view options in the code, ...
0
votes
0
answers
90
views
add a legend show the expression for each contour? [duplicate]
I am trying to visualizing the unit circle under different norm functions, here is the code:
...
0
votes
0
answers
53
views
How to find the x-axis intersections/zeroes of a parametrized integral? [duplicate]
Consider the situation with this functions,
...
0
votes
0
answers
27
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
179
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
186
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?
...