Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

learn more… | top users | synonyms (4)

1
vote
1answer
42 views

How to rescale the axes on a 3D graph?

I currently have a graph in which the x and y axes take values on the order of 10^-4. Which looks messy, ...
0
votes
2answers
123 views

Want to put additional items in my plot legend

I was able to plot most of the parts of the figure. But I have a problem with some legend items. Here is my code: ...
0
votes
1answer
48 views

Solving coupled ODEs with NDSolve

Given the system of differential equations: $i\frac{d}{dt}c_{1}(t)=H_{12} E(t)e^{(iw_{12}t)}c_2(t)+H_{13} E(t)e^{(iw_{13}t)}c_3(t)$, $i\frac{d}{dt}c_{2}(t)=H_{21} E(t)e^{(iw_{21}t)}c_2(t)+H_{13} ...
1
vote
1answer
105 views

Exporting to eps loses font/symbol information?

I have already asked this question, which has helped. However, now my parenthesis are coming out as Courier "H" and "L." How do I work around this? Is there an easier way to save a plot as EPS without ...
4
votes
5answers
235 views

Getting a 2D slice out of a 3D ParametricPlot [closed]

I have generated a 3D plot of a surface using the ParametricPlot3D command. Considering the three axes of the 3D plot to be x, ...
5
votes
1answer
267 views

BoxWhiskerChart - 10-90th percentile instead of min - max

I am trying to draw a custom BoxWhiskerChart with alternative values determining fences. I have data that has a lot of outliers and I have to compare it to another chart that has 10-90th percentile ...
5
votes
5answers
296 views

How do I plot the derivative of a function with absolute values?

Plot[D[Abs[x], x], {x, -10, 10}, Exclusions -> {0}] gives out several lines of error messages and an empty plot. ...
5
votes
2answers
76 views

Initial time as parameter in ParametricNDSolve

I need a help with the function ParametricNDSolve. My goal is solve the equation \begin{array} &&\dot{x}(t) = y(t) \\ &\dot{y}(t) = x(t)-1-\varepsilon Cos(\omega t) \\ &x(t_0) = x_0\\ ...
2
votes
3answers
135 views

Graphical output sizes [duplicate]

Is there any way to control the size of output graphics when using simple Grid command? Here is an example code: ...
11
votes
1answer
400 views

Kernel crashes when plotting $z=\sqrt{(x^2 + y^2)}^0$

Bug introduced in 7.0.1 or earlier and fixed in 10.0.1 I'm plotting a 3D function, which makes Mathematica V9 (running on Windows 7) crash all the time. Does this only happen for me or for somebody ...
1
vote
0answers
48 views

Controlling the size of a Plot, ListPlot when using Grid view [duplicate]

Is there any way to control the size of output graphics when using simple Grid command? Here is an example code: ...
0
votes
0answers
70 views

Periodograms and power spectra of a simple harmonic oscillator

This a just a trivial case of a simplified differential equation that I am using. I am not too happy with the Periodogram command. Let's say that I have the ...
0
votes
1answer
91 views

several plots at once

I have several files what i would like to plot at once, they are .dat files and they have names as a numerical sequence from 1 to 4 (they are about a hundred but for the example 4 are ok) so i use ...
0
votes
1answer
91 views

How to solve and plot this 2nd order non linear ODE? [closed]

Is this the correct way to plot the solution of this ODE from $(-8, 8)$? $$y'' - (1 - (y')^2)y' + y = 0$$ ...
0
votes
1answer
56 views

Interpolating a non-continuous set of points

I'm trying to create a pure function that I can feed into OutputResponse[ ] as the input u[t]. In order to do this, I've written code to create a square wave pulse train in the form of a collection of ...
0
votes
2answers
88 views

Plotting a 3D function along a vector

Newbie here! If I have the 3D function (a, b, and c are specified by me), E[a_,b_,c_] := (x+a)^2 + (y+b)^2 + (z+c)^2. How would I go about getting mathematica ...
1
vote
1answer
59 views

Combine 3D plots into one with Manipulate and different region plots

The following script generates two plots in a row, both of them controlled by Manipulate. I would like to combine them together in one. The problem I don't know how to solve is that the plotting ...
5
votes
1answer
123 views

Does PrivateFontOptions -> {“OperatorSubstitution” ->False} fail in version 10?

Please consider the following, version 10.0.1, OS X Mavericks: ...
1
vote
1answer
51 views

Contourplot gives inaccurate ellipses

I'm trying to draw a family of ellipses with pre-defined foci as follows: ...
14
votes
2answers
3k views

About the number format in ticks

I want to LogPlot a function, but I have the trouble in the number format in the ticks. For example, ...
-4
votes
1answer
55 views

Jump phenomena for primary resonance of the Duffing equation [closed]

In this equation I will write omega (Ω) instead of amplitude (a). ...
0
votes
1answer
35 views

Inset raster graphic position and size

I need to rasterize a very complicate plot and superimpose this to another plot. For example ...
2
votes
3answers
144 views

Plot a bunch of lines in 3D from point data

I have a 12*25 array, wherein each entry is of the form $\{x,y,z\}$. So 12 different $x$ values, 25 different $y$ values and 12*15 $z$ values in all. I'd like to plot 12 curves of various $x$ values ...
2
votes
2answers
141 views

Plotting difference between a function and its inverse function

I would like to plot the difference a function and its inverse function. (1/27)*(x^4-6x^3+12x^2+19x) (* where 0<x<5 *) I tried the following: ...
1
vote
2answers
48 views

PlotLegends in Show with listlog

I am struggling with proper plot legends in Show command for two plots created by LogListPlot command. ...
3
votes
2answers
117 views

How to draw a particular contour line in ListDensityPlot?

In the plot produced by the following code, I want to draw a contour line for $f(x,y)=0.8$. Here $f(x,y)=\sin(x^2+y)$, however, actually we don't know $f$, we've got the data only. ...
3
votes
1answer
106 views

Modify ticks without specifying tick length

I am making a ListPlot, in which the x-axis is the result of AbsoluteTime. I want the tick text to be human-readable by applying ...
0
votes
1answer
53 views

Draw filled regions in DateListPlot

How do I draw specifiq filled regions in DateListPlot? I trying to plot something like this: Thanks
1
vote
1answer
84 views

Plotting less of a sphere

It is a follow-up question from this one. I'll put the code at the end. So far, I have: Notice how nearer $z$ is to $0$, the more transparent the sphere is. I don't want to plot the whole ...
9
votes
3answers
184 views

Changing BarLegend border style

I want all the lines in my plot to be a consistent style, let's say thick and black for the purpose of this question. ...
2
votes
1answer
73 views

RegionPlot3D does not plot “thin” regions?

Basically, I ultimately want to make something like this: However, I am unsure of how to do this in Mathematica. I'm trying to do this via RegionPlot3D, and for ...
7
votes
1answer
236 views

Computing launch parameters for hitting a point in 3D with projectile under influence of wind

The end goal of this problem is to compute functions which describe the launch parameters which are needed to hit a specified goal in 3D in the presence of wind disturbances. This is as far I have ...
2
votes
0answers
59 views

Finding and plotting roots with parameter

I have the following function: $$ u(x,t)=\sum_{k=1}^\infty\frac{v_0 L}{\lambda_k c \sin\left(\lambda_k\right)}\sin\left(\frac{\lambda_kx}{L}\right)\sin\left(\frac{\lambda_kct}{L}\right) $$ and this ...
0
votes
1answer
51 views

NDSolve printing error message NDSolve::ndode [closed]

Using NDSolve while solving system of ODE's. Here is my try ...
0
votes
1answer
82 views

Plotting Complex Numbers - Functions of Complex Numbers [duplicate]

So I have to generate a few different plots with z, where z is a complete number... z[x_, y_] := x + y*I F[z_] := (25*Pi*z*I)/(1 + 10*Pi*z*I) First, I need to ...
6
votes
1answer
189 views

How can a function know in which function it was evaluated?

Hello my second question here might be very hard. I am asking for something "magical", if i define a function g and i call it inside a function f, how can g have information about the outer function ...
0
votes
1answer
63 views

How to plot and visualize a single linear vector in 3D? [closed]

I have a vector (in physic) designated as F1=250cos(60)i+250cos(60)j+250cos(45)k, and i would like to see it in a 3D graphic with the axis centered at the origin, after what i would include other ...
0
votes
0answers
54 views

How to extract data points from an image of a log log plot? [duplicate]

I have a picture of a log-log plot, taken from a paper and I want to extract the data points so I will be able to plot them again along with results of my own solution. I would appreciate your help. ...
0
votes
1answer
60 views

Equivalent parametric plots don't look the same

ParametricPlot[ {1, Tan[t]}, {t, -Pi/3, Pi/3}] ParametricPlot[ Sec[t] {Cos[t], Sin[t]}, {t, -Pi/3, Pi/3}] The second parametrization does not plot like the first, ...
0
votes
2answers
176 views

Mapping Contour Plot onto ListPlot3D (or by using color variations)

I am trying to overlay a contour plot I have created on a ListPlot3D graph. I have seen a few questions answered on this website that answer my basic question. However, the contour plot I need to ...
3
votes
2answers
68 views

Overlay vector logarithmic plot and rasterized logarithmic ListPlot

I would like to produce a output PDF file of a log-linear plot obtain by composing the plot of an analytical function and a scatter plot of some random data. Since the random points are of the order ...
1
vote
0answers
48 views

Evaluating documentation example crashes the kernel

Save your work before attempting: Could someone confirm what looks like a bug (definitely occurs in v10 and OSX 10.8.5): In the documentation for Background and ...
29
votes
4answers
2k views

Saner alternative to ContourPlot fill

I am producing a large number of ContourPlot objects, which when exported generate notoriously large PDF files because it basically generates lots of little ...
-1
votes
1answer
42 views

Specify and rename ticks in FrameTicks

When I plot, I use Frame -> True I would like all ticks on the frame axes to disappear and remain only with two ticks, say, 0.1 on the x-axis and 0.5 on the y ...
1
vote
3answers
1k views

Changing FrameTicks of ListPlot

I am unable to change the frameticks for my list plot. I am trying to plot a growth rate omega function which looks like this: ...
1
vote
2answers
106 views

A cone being intercepted by a slanted plane

I have the 3d cone: Plot3D[-Sqrt[x^2 + y^2], {x, -20, 20}, {y, -20, 20}, Mesh -> None, BoxRatios -> {1, 1, 1}] I need a slanted plane intersecting it. ...
0
votes
1answer
45 views

Complex number plot with inequalities [duplicate]

I need to plot the function where z is a complex number: $$S = {z:|z + 0.15|<0.6} \wedge {z:Pi/4<=arg(z)<=Pi}$$ I can do this: ...
0
votes
1answer
50 views

Region projection of multivariable interpolated function

I have a problem plotting a multivariable interpolated function when projected into two-dimensions using Resolve and RegionPlot. ...
4
votes
2answers
149 views

How to generate mesh and calculate volume of 3d object?

I saw a couple of posts dicretizing the graphic and generate DelaunayMesh to get volume of 3D object. The issue I'm having is that DelaunayMesh creates a bigger solid covering the original one, ...