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
0
answers
362
views
Maximum Likelihood Estimation of Gamma-distribution Scale parameter
I have the following tasks:
Generate random sample with given parameters shape = 2, scale = 0.001 and shape = 2, scale = 1/1200 for the right censored sample;
Using Maximum Likelihood Method estimate ...
0
votes
0
answers
63
views
Plotting error bars in both dimensions for straight line model [duplicate]
I want to fit a straight line model of the form $y_i = a+ b\ x_i$ to the list of $(x, y)$ pairs given below. How can I plot the data with error bars in both coordinates?
...
0
votes
0
answers
46
views
How to remove extra space around polar plot in manipulate? [duplicate]
In Manipulate, PolarPlot adds lots of useless space around the exterior circular grid. Is there a way to remove that space, so the whole circular plot could take more space ? Here's a MWE showing ...
0
votes
0
answers
54
views
Names disapper when using PlotLegend [duplicate]
I am using Mathematica 8.0.1.0 and when I use PlotLegend the names disappear.
Could you help me fix it?
Thank you.
...
0
votes
1
answer
300
views
How to prevent extrapolation in Manipulate? [duplicate]
How can I limit the time slider to the NDSolve solution range in a Manipulate box, so no extrapolation is used ? More specifically, here's a stripped down version of my Manipulate code which shows ...
0
votes
0
answers
40
views
Function inside LogPlot has random offset when using custom working precision
I am seeing a strange behavior when using a custom working precision in a LogPlot or LogLogPlot. Let's take the most simple ...
0
votes
0
answers
36
views
How to avoid frames or axes from intersecting? [duplicate]
I want to have a plot, such that it is displayed like so;
so that the axes or the frames don't intercept.
I was able to achieve this only by covering with graphics, with epilog, like so:
...
0
votes
0
answers
73
views
Manipulate Tupper's self-referential formula [duplicate]
How to Manipulate $n$ in Tupper's self-referential formula?
...
0
votes
1
answer
1k
views
"Moving" plot of a point moving in circular motion, in 3D
Maybe this is a tricky one! I want to have a 3D plot in Cartesian coordinates of a point moving in a circular orbit around x,y,z = 0. where the circular motion is only in the x,y plane.
Has anyone ...
0
votes
0
answers
165
views
SciDraw: Vertical axis not copied into Word 2013 (Windows 7, Mathematica 10.1 SE)
Using the SciDraw package, I created a multi-panel figure of list plots with labels along both the $x$ and $y$ axes. But when I copy/pasting the result into Word, the vertical axis labels are nowhere ...
0
votes
0
answers
358
views
Slow and laggy animation of an electromagnetic wave
I made a manipulate code of an electromagnetic plane wave which works relatively well, but is very slow and laggy for what it does (showing just a bunch of rotating or oscillating arrows). What is ...
0
votes
0
answers
84
views
Quick Question - ContourPlot a Rectangular region [duplicate]
I have been using the contourplot command to illustrate the eigenfunctions of a 2x1 rectangle. However, the contourplot scales the y axis to make the region square, which is distorting the image.
...
0
votes
0
answers
201
views
Plotting a graph on a torus and another surfaces [duplicate]
I'm trying to figure out how to plot a graph on a surface. My goal is to represent a planar embedding of $ K_5$ in a torus. I have encountered this post, where you can find an explanation how to plot ...
0
votes
0
answers
204
views
Make smooth plot from data
After some awesome tips from @qwerty I still have some doubts.
As I said, I'd Like to make a smooth function with some other colors,
I plot the graph, there is a lot of data.
The situation is this: I ...
0
votes
1
answer
417
views
How to make smooth function from data [closed]
After some awesome tips from @qwerty I still have some doubts
As I said, I´d Like to make a smooth function with some other colors,
I plot the graph, there is a lot of data.
The situation is this: I ...
0
votes
0
answers
88
views
How to fill in missing points on a graph? [duplicate]
If I plot the function
Plot[Surd[x, 10], {x, 0, 10}, PlotRange -> {{-3, 3}, {-2, 2}}]
I get
This issue I have is that graph does not extend down to the ...
0
votes
0
answers
35
views
Plotting x^(1/3) [duplicate]
How do I get Mathematica to plot solutions on the left and right side of the y-axis instead of just the right side?
Plot[x^(1/3), {x, -10, 10}, PlotRange -> 3]
...
0
votes
0
answers
311
views
Reduce size of exported contourplot [duplicate]
Following the answer given here, I am plotting contour lines in black/white:
...
0
votes
0
answers
124
views
solving an equation containing an complex integral
I want to solve a numerical equation which include an integral.
The problem parameters are : w (is a complex : w = wr +I wi), <...
0
votes
0
answers
64
views
Problem displaying "/" correctly in exported svg file of Plot in Mathematica 8
In a plot, I use "/" on the axes labels to denote units. E.g. "t/s" meaning time in seconds. I believe this is pretty standard in Physics.
...
0
votes
0
answers
107
views
0
votes
0
answers
253
views
Changing AxesStyle for 3D plots to include arrowheads on the axes [duplicate]
I like to have arrowheads on my plots. For example,
Plot[Sin[x], {x, -3, 3}, AxesStyle -> Arrowheads[.05]]
This puts arrowheads on the ends of the positive ...
0
votes
0
answers
228
views
ensemble averaging
Herephixis $\phi_{xx}$ a coherence matrix and the angle brackets denote ensemble averaging. $E_x$ is the x component of the electric field.
$$\phi_{xx}=\langle E_x^...
0
votes
0
answers
465
views
How to draw a distribution plot (dotplot?) like this in mathematica? [duplicate]
I believe I've seen this answered already here in Stack Exchange but I could not find it again, so here I am asking, hoping that someone knows this other post I am referring to.
Here are examples of ...
0
votes
0
answers
65
views
finding RGBcolors of the default used colored plots [duplicate]
When I use of plot in Mathematica, this uses of default colors for plotting.
...
0
votes
1
answer
91
views
Is there any way to plot function from other function?
For example, I have a function
W[L_, m_] := 1 + 3 L + 2 L^2 - 6 m - 6 Lm + 6 m^2
I also have
r = m/L
What is the easiest ...
0
votes
0
answers
518
views
Mathematica can't plot at specific range?
Intentional pseudo-Bug (Thing) introduced in version 1.0 and persisting through 10.3
I hope that development team fix this issue, will improve in a future release.
I have a function that I need ...
0
votes
0
answers
168
views
How to delete part of a constant plot?
I have a plot that looks like this:
and what bothers me is that the center straight line is that long. The plot would look a lot better if I were somehow able to delete everything from -3 to 3. Is ...
0
votes
0
answers
33
views
use of grid to stick different plots [duplicate]
I have four plots that can be figured besides each other in Grid command.
...
0
votes
0
answers
732
views
A parabola by three points. Interpolation and Plotting [duplicate]
I would like to plot this simple line graph and generate a polynomial equation using Mathematica. Please help
values
...
0
votes
0
answers
80
views
ColorFunction on a surface [duplicate]
I have a surface in 3D space which is defined by equation in ContourPlot3D. For simplicity let me use x + y == z surface (in reality I have a transcendental ...
0
votes
0
answers
44
views
StreamPlot, ListStreamPlot does not visualize vector field properly [duplicate]
I am reopening my question about empty stream plots.
I couldn't find a choice for parameters that would give me a proper stream
plot for the following example.
...
0
votes
0
answers
1k
views
Simple Two-Axis Plot in Mathematica? [duplicate]
Is there a simple way to implement a two-axis plot in Mathematica? On Quora.com there is a suggestion to use Show to combine two different plots with the same x-axis domain and with y-axes on ...
0
votes
0
answers
74
views
Compare different speeds of parametrizations in same animation box
I recently taught my calculus III students about arclength parametrizations, and I wanted to show them the different parametrizations in action, but in Mathematica, there seems to be a default speed ...
0
votes
0
answers
60
views
How to adjust ColorFunction to scale the clipped areas in ListDensityPlot? [duplicate]
I have a data set I am trying to visualize, however some of the values seem to be extra large and it's just clipped and blanks are left. I want to rescale or whatever in such a way as this white areas ...
0
votes
1
answer
109
views
ListSliceContourPlot3D (and related) won't plot data [closed]
I have a sparse dataset that ListSliceContourPlot3D (new in 10.2) will render with no problems. However, a related dataset (with more values) yields an empty cube. I can't trace the source of the ...
0
votes
0
answers
56
views
How to customize an animation [duplicate]
I want to create an animation regarding the restricted three-body problem for the Earth-Moon system. The code is as follows
...
0
votes
0
answers
34
views
Show[cp1,cp2, ...] but PlotLabel in cp2 does not show up [duplicate]
I am visualizing the extrema of $f(x,y)=x^3+3y^2$ constrained to the level curve $g(x,y)=xy=-4$, found by using the Lagrange Multiplier Method.
...
0
votes
0
answers
40
views
Plotting a dispersion curve with complex wavevectors [duplicate]
I want to reproduce a dispersion curve from P. Zou's thesis found here: http://www.ipd.anl.gov/anlpubs/2001/06/39620.pdf on Pg. 31, Eq. 2.13.
The problem is, the code below only gives values for the ...
0
votes
0
answers
283
views
Specifying plot markers (filled diamonds or squares) [duplicate]
I can plot my list data and I can use of specifying circle to show my plot-markers. I used of Mr.Wizard comments on that page. But I don't know how can I fill the circles of those plot-markers with ...
0
votes
0
answers
44
views
How do I get rid of the marks at the top of bars in DiscretePlot? [duplicate]
I for some data I have
...
0
votes
0
answers
31
views
How to plot `y=y[x]` from `f[x_,y_]=f0` [duplicate]
Given a two-variable function
f[x_,y_]:=(*complicated stuff in terms of x and y *)
what I want is to do is Plot ...
0
votes
0
answers
70
views
Problem with plotting a piecewise function [duplicate]
I'm having a very puzzling issue with piecewise defined but smoothly continuous functions.
I have a perfectly continuous piecewise function defined as
...
0
votes
0
answers
239
views
Using Manipulate to determine intersection of two surfaces
Here is what I have done thus far:
...
0
votes
1
answer
153
views
Variable ViewPoint coordinates [duplicate]
Can I use the option ViewPoint on Graphics3D[], with its setting a variable function? For example:
...
0
votes
2
answers
684
views
Plotting a Forced Vibration Differential Equation [closed]
I'm attempting to plot a differential equation solution but mathematica is giving me trouble. The plot is showing up blank. Here is what I have.
...
0
votes
1
answer
81
views
How can I plot the complex formula as follow? [closed]
I try for this ...
I want to see the result like this
...
0
votes
0
answers
41
views
Shorter code for repetitive commands [duplicate]
How to give a shorter one or two line command without repetition (single variable change in a subroutine):
...
0
votes
0
answers
49
views
Distorted plot when I plot Sqrt[4 - x^2 - y^2] and -Sqrt[4 - x^2 - y^2 together [duplicate]
When I plot Sqrt[4 - x^2 - y^2] and -Sqrt[4 - x^2 - y^2] together,the z axis doesn't have ...
0
votes
0
answers
105
views
Frame Tick Labelling in Power Form [duplicate]
Hopefully a simple one for you. I would like to edit the frame ticks on my plot such that they are in "power" form. As it stands I try:
...