Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
7
votes
2answers
190 views
Diagonal Tick Marks
I would like to draw diagonal tick marks around a plot, and simultaneously rotate the tick labels as well. I've mocked up what this would look like:
Is there an easy way to do this in Mathematica? ...
-1
votes
0answers
92 views
How can I make Mathematica run more slowly? [duplicate]
I want to have a delay time between evaluating a Plot expression and seeing the results. My code is very short and simple so Mathematica shows the output instantly. ...
0
votes
0answers
71 views
Why is PhaseMargins going nuts? [closed]
I have a transfer function:
Gs = TransferFunctionModel[10/((s + 1) (s - 1) (s + 9)), s]
I made a Nyquist plot and it looks like what I expect.
Gain margin ...
1
vote
1answer
66 views
Additional label on axis - 2D plot
I am finding a local maximum of a curve and I want to make the plot easier to read. I added a point to where the maximum is but I would also like to:
1) add a tick with text below it where the x ...
3
votes
3answers
146 views
How to speed up the plot of NIntegrate?
Here is a toy example:
f[t_] := NIntegrate[Sin[x], {x, 0, t}];
Plot[f[t], {t, 0, 10}] // Timing
Even such a simple example will take 2.8 seconds on my computer.
...
2
votes
2answers
80 views
ColorFunction based on data
I have a list of numbers, and I would like to plot them using ArrayPlot (which is easy, usually :)). I would like to be able to color the elements of the plot based on the average of the list: one ...
1
vote
1answer
84 views
Making axis numbers larger on Mathematica plot
I want the numbers along the axis to be larger than the default value. Can this be done?
The reason I am asking is because I frequently make charts in Mathematica and use them in Word. I export ...
5
votes
3answers
114 views
1
vote
1answer
59 views
Plotting a convolution fails [closed]
i'm trying to plot a graph of a convolution and a discrete convolution, using Mathematica 8
...
0
votes
1answer
71 views
Help with interactive plot? [closed]
The following interactive plot causes Mathematica 9 to become unresponsive. Could someone please tell me what is wrong with it?
...
8
votes
2answers
175 views
Customize your FrameTicks in a MATLAB way
The figure below is made by MATLAB. However, the scientific form of numbers in FrameTicks that how MATLAB deals with is quite different from that of Mathematica.
...
1
vote
1answer
65 views
How to make the plot from geotiff format
I have a "GeoTIFF" format map, and I have imported it into Mathematica, then I used the Graphics to plot a point on the map. ...
7
votes
3answers
153 views
Linking points in separate lists in ListPlot (updated)
Updated: I have two lists (of different lengths) of co-ordinates, in the form {x,y,"tag"}, that I wish to plot so that one list is graphically linked to the other ...
1
vote
1answer
40 views
3d plot for function defined for integer values
I would like to make a plot of a function defined just for integer values, like
f[n_, m_] := 2 - (1/IntegerPart[n]) - (1/IntegerPart[m])
If I try to plot
...
0
votes
1answer
115 views
How do I define the domain of a function?
I have a function of two variables, f[x_, y_], and I would like to restrict the domain to values of x and ...
3
votes
1answer
85 views
Manipulate a Plot that contains a variable that contains symbol
This snippet
mm = m
Manipulate[{mm, Plot[mm x, {x, 0, 1}]}, {m, 0, 1}]
(m is not defined anywhere) produces a sadly fixed ...
1
vote
1answer
134 views
Problems with NDSolve and stiffness
I am trying to solve an ODE in chemical kinetics:
$$\begin{align*}
\frac{\mathrm d[x]}{\mathrm dt} &= -k_1 [x][y]\\
\frac{\mathrm d[y]}{\mathrm dt} &= k_1 [x][y] - k_3[y]
\end{align*}$$
My ...
5
votes
3answers
83 views
0
votes
0answers
111 views
How can I add standard deviation to my plot?
I have a plotted my forecasted and real data in one graph, but I can't figure out how to plot the standard deviation on the same graph. The following is the code I have used:
...
3
votes
0answers
71 views
Why do vertex labels disappear when I edit with drawing tools?
I'm trying to change the text and arrow style in GraphPlot using the drawing tool, but the the vertex labels disappear when I do that:
...
2
votes
1answer
70 views
double arrow in GraphPlot
Is it possible to combine two edges into one with a double arrow?
For example:
...
1
vote
1answer
97 views
3D plot of two 2D functions
I would like to plot two 2d functions in a 3d coordinate system. Examples are z = x^2 and z = y^2. Each function has one ...
1
vote
1answer
63 views
Contour3Dplot more graphs in one picture [duplicate]
How can I plot two equations in one 3D graph.
I have to plot x^2+y^2=1 and x^2+y^2+z^2=2 but I want tu plot only their intersection :(
Thank you
3
votes
1answer
65 views
Change position of mesh
I'm trying to plot a 3D graphic and I want to highlight the intersection between two graphics: a plane and a surface. I thought that Meshfunction->{#3&} was ...
1
vote
1answer
100 views
Plot a graph in a plane
I have a 3D graphics and i must plot a trajectory on a costant plane but i don't understand how to do this. With a simple Show[] command i can't do this.
This is the code to plot the graphics:
...
2
votes
1answer
70 views
Plot several lines with different starting points on the x-axis
First of all, I would like to apologize in advance if I don't use the correct terms or if I express myself unclear but I just started to work with Mathematica.
I'm simulating electricity prices and ...
2
votes
1answer
131 views
How to find an asymptote of a logarithmic curve
An exponential decay curve has been plotted asymptoting at approximately x=30 (correct for what I am looking at)
How can I find the exact value from the curve? I was hoping to be able to use ...
5
votes
1answer
98 views
How can I fix Mathematica's text line-breaking algorithm not to line-break so soon?
I have some custom plotting functions that simplify the placement of footnotes and source notes under the plot. It is important that the line length of the footnotes fills up the available space and ...
3
votes
1answer
75 views
How to restrict ListContourPlot with two criteria?
I use ListContourPlot to show exclusions in a physical parameter space. I have restrictions like A < 5 and ...
-3
votes
1answer
68 views
Plot3D doesn't plot my function [closed]
I have to plot in 3D a piecewise function, but it doesn't work. Could you help me?
Here is my file
https://www.dropbox.com/s/1rtpeljqerhh5it/Plot3D.nb
...
2
votes
1answer
108 views
Plot differential equation system in a complex way
Based on this differential equation system:
$$\begin{align*}
\dot{x}&=f(x,y)\\
\dot{y}&=g(x,y)
\end{align*}$$
where
$$\begin{align*}
f(x, y)&=x^2+y^2-25\\
g(x, y)&=x^2-y^2-7
...
0
votes
0answers
20 views
Creating Plot with varying scale [duplicate]
I have four series of data that I would like to plot side by side. They look something like this:
As the y-coordinate goes from 80 to 50
In the first series, the x-coordinate varies from around 20 ...
1
vote
1answer
63 views
Plot FindRoot for non-trivial function
I would like to plot the results of FindRoot over certain range of inputs. I tried to do this with the code:
...
1
vote
1answer
64 views
Plotting Piecewise function, ExclusionsStyle not shown completely
Suppose I define
f[x] := Piecewise[{{1.7*10^-6, 150 <= x <= 200}}, 0]
and then plot
...
15
votes
2answers
356 views
How can I draw a 3D cross-section of a 3-torus embedded in 4D Euclidean space?
I have a $3$-torus ($\mathbf S^1\times\mathbf S^1\times \mathbf S^1$) embedded in 4D Euclidean space. How can I draw the cross-section of this $3$-torus cut by a 3D Euclidean space in an arbitrary ...
1
vote
2answers
97 views
Images as labels of barChart
I'm trying to create a BarChart on which images are the labels of each bar.
A Minimal example of what I'm trying to do:
...
0
votes
1answer
47 views
Question about rendering axes [duplicate]
I have data points for a circle and would like to plot it with Mathematica.
...
4
votes
2answers
143 views
Mapping higher dimensions to color, opacity, point size, etc
I have a set of points of dimension >3, and I'd like to modify ListPointPlot3D so that the higher dimensions are mapped to different variables, such as color, opacity, point size, etc. so for example
...
0
votes
1answer
68 views
Colorbar doesn't appear
I have a list of data with dimensions $(2000,4)$.
I plotted it using ListPointPlot3D, setting the fourth dimension as the color. As follows:
...
0
votes
1answer
63 views
Plotting query - same values on Y-axis / viewing data
I'm new to Mathematica, and have numerically solved two similar functions with the following code;
...
-4
votes
2answers
74 views
Ploting from Matrix [closed]
I use Import function from excel in order to get my data. My data contains 3 columns.
...
2
votes
1answer
70 views
How to get confidence bands of parameters from a fitting procedure?
I have done fitting of data points with a given model that has two parameters (A and B), using NonlinearModelFit. The result of the fit is the maximum of the ...
2
votes
3answers
137 views
Why doesn't Mathematica plot $n(-1)^n$ with Plot?
I was in doubt if this question should be asked in Mathematics.SE or Mathematica.SE, but I've decided this site would be more appropriate, because I think those who read my question here will know ...
3
votes
1answer
106 views
Issues with ColorFunction Scaling when using RegionFunction in VectorPlot
I was plotting a VectorPlot and restricting it to the physically meaningful region using RegionFunction. To my surprise, the ...
6
votes
3answers
117 views
0
votes
0answers
26 views
How does Plot evaluate its argument? [duplicate]
I have a list of about twenty InterpolatingFunctions that I'd like to plot. They are interpolations from experimental data (frequency spectra between 100 and 5000 ...
0
votes
1answer
153 views
Can images made with a trial version of Mathematica be published without copyright issues? [closed]
I am using Mathematica 9 TRIAL version. Can I publish images produced with it without any copyright infringement problems? I guess no; that there will no such problems, but I want to make be sure that ...
0
votes
2answers
129 views
Do/For loop for plots
I have a lot of points that I would like to get shown on a plot. The problem is that sometimes I only have 2 points while other times i have 10 points. I've tried to make a for loop to create a plot ...
1
vote
1answer
99 views
Plotting a complex function [duplicate]
What does it mean if this message appears:
{Im[(1-E^Times[<<3>>] f)/(1-Power[<<2>>] f)]-0,Im[(1-E^Times[<<3>>] f)/(1-Power[<<2>>] f)]-0} must be a list of equalities or ...
2
votes
1answer
61 views
Thick border on some ParametricPlot3D objects
Object x should be composed of thick lines, object su should have no or a thin border.
With ...







