Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
2
votes
1answer
49 views
Reuse ParametricPlot3D plotting options [duplicate]
I create several ParametricPlot3D's that all should look the same: BoundaryStyle -> Thick, ...
0
votes
1answer
100 views
1
vote
1answer
102 views
Graphing time-series
I'm currently trying to use data gathered as a function of time (here, the fluorescence of a biological sample), but am new to Mathematica and don't know how to properly specify axis relations (and ...
4
votes
1answer
82 views
What's the simplest way to plot an ErrorListPlot with only y error bars?
Sometimes I get really tired of Preparing data for making an ErrorListPlot using Thread and friends. Is there a simpler way to plot an ErrorListPlot with only y ...
0
votes
2answers
149 views
How to plot vector function r(t) = i + j + t*k
How can I plot the vector function $r(t) = i + j + t\;k$, where i, j, k are unit vectors, and t is the parameter of the function r.
1
vote
1answer
130 views
Plotting & Solving
I'm trying to plot replicate a graph from one of the articles and it has series of equations it has solved.
here is my code so far:
...
3
votes
2answers
103 views
Axis labels are clipped (in BarChart)
I have created a bar chart with the below code. My $x$ axis labels have been cut in half for some reason. My $x$ axis heading is also missing. I tried using ...
4
votes
1answer
91 views
Creating plot markers with centered text
I want to create a series of plot markers which are circles, squares etc. with 2-3 letter codes centered within the marker. My current attempt looks like this:
...
10
votes
2answers
279 views
Make good looking histograms from frequency data
I allways do my calculations in Mathematica and I make my histograms using ROOT language. However I am wondering is it possible to make good looking histogram inside Mathematica? A sample of what I ...
1
vote
1answer
89 views
Constrain plot points to below a certain line
I have a set of curves that take on large values when approaching 1. I'm trying to create a straight line with certain slope and then truncate the plot for any curve that goes above that line for any ...
3
votes
2answers
194 views
Triangle mapped on a sphere in $\mathbb R^3$?
How can I map a triangle on an sphere? I want to visualize (plot or animate) it for my student in my Non Euclidean geometry. I have no restrictions on the triangle's kind or on the sphere in $\mathbb ...
3
votes
3answers
253 views
StreamPlot in Polar Coordinates
I want to use StreamPlot to map out the field lines of an electric field $\mathbf{E}$ given by
$$
\mathbf{E} = \frac{3D}{4r^{4}}(3\cos(\theta)^{2}-1)\mathbf{\hat{r}} ...
3
votes
1answer
53 views
Restricting a plotted expression to reals in a Manipuate
I have an expression from which I'm trying to create a plot that I can manipulate. The expression contains Abs, and I only want to have it evaluated for reals. What ...
3
votes
3answers
102 views
Defining a new Function using RegionPlot
I'm trying to make images like this:
to illustrate 2D integrals to a calculus class.
I used the code
...
0
votes
2answers
125 views
Sequence of data in 3D, joining the points
Let me just first say I am not actually trying to find a function for these set of data. All I am doing is joining the points to make a line.
Basically let's say I have some data, which I cleverly ...
3
votes
4answers
140 views
Left-aligned PlotLabel?
Is it possible to have the text generated by PlotLabel (or any other function) aligned to the left side of the plot instead of in the center?
4
votes
2answers
121 views
Speed up plot of $\sum_{j\ge1} 2^{-j}(1-2^{-j})^{n-1}$
I'm a beginner at Mathematica. I would like to plot the following function:
$${n\over2} \sum_{j\ge1} 2^{-j}(1-2^{-j})^{n-1}$$
However the following code is just too slow:
...
0
votes
1answer
130 views
ContourPlot with parameter
I have an equation for function F[x,y]==0 which first argument x is real and another, y, ...
1
vote
1answer
57 views
Plotting data that lands on the axis
I have a data point that lands right on the Y axis, which corresponds to the index of refraction of some sample. the x axis is the mole fraction of chloroform of my samples.
How do I get the first ...
3
votes
2answers
110 views
3
votes
1answer
60 views
How to set PlotLegend Number Format
Is there any way to make Mathematica to show the legend labels like a real number rather than in fraction form? I read the BarLegend options, however they are just ...
4
votes
1answer
66 views
Padding plot ticks with zeros on the right
I would like to know how can I make a real-valued plot tick pad with a zero to the right of the decimal point on integer values. This is what I have:
...
9
votes
3answers
148 views
Custom functions by delegating options in a specific way and using core functions
I'd like to create a custom function that does essentially the same as a core function of mathematica but uses different default settings.
Example: I want a Plot function that uses Mathematica's core ...
1
vote
1answer
59 views
Use Results from Manipulate Plot NDSolve to create another plot versus variable used in DE
I created my plot using using this input:
...
1
vote
0answers
76 views
Is it possible to mask a vector image?
I am trying to plot a contour plot within a non-rectangular region. I have seen in other posts techniques that involve calculating an interpolation function and using the RegionFunction command within ...
2
votes
3answers
74 views
BarChart without axes neglects the last zero of a list
Creating a BarChart with {1, 2, 3, 0} as
BarChart[{1, 2, 3, 0}, Axes -> False, Frame -> True]
gives me only the first three bars, a chart identical to just
...
2
votes
1answer
94 views
How can I change the position of my plot legends?
As the title indicates, I want to change the current position of the legends in a combined plot. The Mathematica code I used is
...
0
votes
1answer
77 views
Why don't I see all the grid lines in my combined contour plots?
I am trying to display four continuous functions, but when I try to combine them withe a single Show, I can't see the second vertical line. I suppose the problem is ...
3
votes
3answers
143 views
Label points in plot with a text
I'm a newbie at Mathematica and I couldn't find how to label the maximum and the zero of a simple function in Plot with their names:
...
4
votes
1answer
106 views
Plot an undefined function
When I plotted an undefined function, Mathematica also spends considerable time to process it.
It returns a blank figure necessarily.
What confuses me is where the ...
2
votes
2answers
99 views
Stop use of scientific notation when displaying FrameTicks
I have a dynamic graph which changes depending on the current selection from a drop down box. All selections from the drop down box give fine results except one. For the one selection it shows the ...
1
vote
3answers
95 views
Plotting multiple parametric functions with different intervals
I want to make a parametric plot like this:
ParametricPlot[{{2 t, -10 t^2}, {t, 2 t}}, {t, 0, 2}]
I have tried the following but it doesn't work:
...
11
votes
3answers
322 views
How to plot a 3D surface with a simple black and white style?
Mathematica has great plotting capabilities. However, sometimes what is needed is a very basic black and white plot without textures, lighting, glow and other complex features. So, here is my ...
3
votes
2answers
208 views
Plot 2D Vector function in 3D
I want to plot a 2D vector function such as $F(x,y) = (a(x,y),\,b(x,y))$ in a 3D graph so that the vectors are embedded in the xy plane. I tried to do the following:
First I defined a piecewise ...
2
votes
1answer
68 views
12
votes
4answers
391 views
Plotting data points: Optimizing size and visuals
The following problem is one that may have showed up to you while plotting a large data collection. Suppose you have a data set of say 1 million points. ...
1
vote
3answers
187 views
How to make a plot on top of other plot?
I want to plot two functions. One should appear on top of the other. The x axis has the same values for both functions, but should appear twice (the second- upper I want to be dashed). y axis should ...
2
votes
1answer
67 views
Plotting expression as function of another expression [closed]
How can I plot $\frac{m}{(M+m)}$ as function of $\frac{m}{M}$? I've tried the regular Plot[] but it didn't work.
This is a function of the loss of kinetic energy ...
1
vote
1answer
123 views
ErrorListPlot Legend with Markers
I'm trying for some days now to integrate markers in my legend. I have a ErrorListPlot with markers and a legend but difficulties to realize the markers in the legend as well. Thanks a lot for your ...
3
votes
5answers
186 views
Plotting the solutions to a transcendental equation
I am trying, to no avail, to use Mathematica to produce a plot in (x, y)-space of the solutions to the equation
Cos[Sqrt[y]] + Sin[Sqrt[y]]/Sqrt[y] == Cos[x]
...
5
votes
2answers
121 views
List version of SphericalPlot3D
could you give me some input on how to create a list version of
SphericalPlot3D[r[theta,phi],{theta,min,max},{phi,min,max}]
When r[] is an explicit analytical ...
0
votes
0answers
59 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
...
3
votes
3answers
100 views
How to control the speed in Manipulation
As the title says, I want to control the speed when I use Manipulate. I have the following piece of code
...
1
vote
0answers
56 views
Is there a relatively easy way to add the “Cone of Influence” to a waveletscalogram?
I am analyzing time series data using the ContinousWaveletTransform function, and plotting the results with WaveletScalogram. I would like to plot the cone of influence on top of the WaveletScalogram ...
1
vote
3answers
121 views
Importing multiple files using a for-loop
once again I am stuck solving a seemingly easy problem :(
I would like to make a List of tables by importing data from several txt-Files.
Importing the data into a table works so far and I am able to ...
4
votes
2answers
157 views
How can I superimpose a set of points on a ContourPlot?
I am familiar with Mathematica to a certain extent, but its subtleties still elude me.
Currently I am trying to solve the following problem:
The function $f(x,y)$ is continuous. I know how to create ...
4
votes
4answers
169 views
How can I fill a curve in ParametricPlot3D?
I'd like to fill a curve in a ParametricPlot3D in the same way as I might with ListPointPlot3D; i.e.,
...
1
vote
3answers
140 views
Fitting data without an equation
Let's say I have some data generated by anything. For practical sake, let's say I was able to generate a sequence of numbers through a recursion and I listed them out through a table of numbers.
...
3
votes
2answers
155 views
How to plot a parametric region representing a coordinate transformation
The Wikipedia page on Rindler coordinates shows a nice example of how a coordinate transformation can be represented in a plot.
They start with two coordinates $T,X$ with $0 \,<\, X \,<\, ...
5
votes
1answer
142 views
Normal Plot (visual test for normality)
I wish to construct a Normal Plot to visually test for normality of data. My data is:
{188,199,171,200,219,172,235,194,234,206}
And needs to be plotted to look something like this:
Whereby ...


