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

learn more… | top users | synonyms (8)

4
votes
1answer
109 views

Rotating a contour plot

I am working with some students on transforming conic sections by rotation of axes. I would like to create a simple Manipulate where I plot the before and after ...
-1
votes
1answer
70 views

BSFC diagram in Mathematica [closed]

I want to make BSFC (Brake specific fuel consumption) diagram using Mathematica. My data that I use looks like this: ...
3
votes
2answers
97 views

ListDensityPlot with discrete values and colors

I have a file with mesh points and a value that indicates the domain the point belongs to https://www.dropbox.com/sh/ll9hb3oxxreufsg/AABvU7nufHhyHY3W4ausanJ6a?dl=0 I would like to plot using ...
1
vote
1answer
83 views

ContourPlot, problem with mesh

I have to plot this trigonometric function: ...
0
votes
1answer
33 views

PlotLegend in Mathematica 8.0.4.0

We had to put Mathematica 8.0.4.0 on some Snow Leopard laptops we have at school (very outdated). I tried: ...
0
votes
1answer
47 views

Cumulative function definition and plotting [closed]

I'm quite new to Mathematica. I have an issue defining cumulatively a function. Let's say I have a waveform f[t] , and I want to create a function with many copies ...
0
votes
1answer
90 views

ContourPlot color problems

I tried to use contourplot to a 2D fucntion with rescaled color, the code is given below ...
0
votes
1answer
62 views

ListPlot3D Plot legend color shows as white with any Opacity set

I have the below code. Just three simple ListPlot3D graphs that I want to overlay on each other with opacity. The problem is that when I set any opacity less than one the color of the legend label ...
0
votes
1answer
56 views

Thickness of frame ticks in a LogLogPlot [duplicate]

I want to plot my function in log-log scale and I want my ticks to be thicker. The code I wrote is: ...
12
votes
1answer
791 views

Thickness of logarithmic tick marks

Bug introduced in 8 or earlier and persisting through 10.3 or later I'm trying to plot a graph wit a logarithmic y-axis. Since I'm exporting the graph to pdf and later printing it, I want to ...
1
vote
2answers
109 views

Plot region from given coordinates [duplicate]

How can I connect given coordinates and create figure from it? Can I fill it with colour? I tried: Line[{a[[1]], a[[2]], a[[3]], a[[4]], a[[5]], a[[1]]}] where ...
3
votes
3answers
181 views

Plot a vector field over a line

This seemingly simple problem is giving me some trouble. I need to plot a vector field on a line, and for that I'm following what I found here. I try to create a mesh that contains two points and just ...
2
votes
2answers
136 views

Plot contour lines on a sphere

I have this code to plot contours: ContourPlot[(Cos[θ] Cos[ϕ])^(1/4), {θ, -π/2, π/2}, {ϕ, -π/2, π/2}, AxesLabel -> Automatic] How would I map those contours ...
0
votes
2answers
70 views

Expression which should be real-valued appears to be complex-valued [closed]

I want to plot the answer of the following integral: Λ = 10; Ω = 10; t = 1; Integrate[ω E^(-ω/Λ) Sin[(ω + Ω)t/2]^2/(ω + Ω)^2, {ω , 0, ∞}] The answer of ...
1
vote
0answers
60 views

Given vector of function plot each of them separately?

At the moment, I am trying to plot a vector of functions which consists of the change along $x$, $y$, and $z$. Is it possible in Mathematica to give a vector of functions and plot them separately ...
3
votes
2answers
76 views

ListSliceContourPlot3D with non-opaque stacked planes

I'd like to make a ListSliceContourPlot3D in Mathematica with using the stacked planes (x, y, or z) for the contours, but I'd like the planes to have an opacity ...
1
vote
2answers
61 views

Need VectorPlot to ignore centre of region

I'm trying to plot a vector field over the range $[-1, 1]\times [-1, 1]$, but only outside the circle of radius 0.2 centered at the origin. The function diverges at the origin so the magnitude of all ...
1
vote
1answer
48 views
4
votes
3answers
86 views

Change Contour Plot Overlap Ordering

I have a contour plot for which I have selected a finite set of contours. However, the contours overlap in some places and I would like to reverse the order in which they are drawn. In other ...
7
votes
1answer
308 views

Smooth out contour in RegionPlot/ContourPlot

I would like to smooth out the jagged edges in the outermost contours in the following plot: I have data of values as a function of variables (x,y) in the form ...
3
votes
1answer
93 views

Plot Shown Differently in Mathematica 9 and 10.3 [duplicate]

I try the following code to put it as a second axis in a 2-y plot as overlay but it behaves differently in Mathematica 9.0.1 and 10.3 (Numbered labels are missing in MA 10.3) ...
3
votes
1answer
40 views

What is the default ColorFunction for MatrixPlot?

I think the the default ColorFunction for ArrayPlot is ...
5
votes
4answers
104 views

PlotRange truncates data in the y direction but not in the x. Why?

Here's a very bizarre inconsistency I've just struggled with and I'm wondering why it exists or if I'm missing something. I have some noisy data and I wish to make a framed plot of the data but allow ...
0
votes
1answer
83 views

Solution of differential equation using other differential equation

I have a differential equation $y'(t)+2a\sqrt{e+y(t)+1}=h-2a$ where $e,h$ and $a$ are constants with the terminal condition $y(T)=0$; $T$ may be 10 or 12... etc. And $x'(t)+(a/\sqrt{e+y(t)+1}) ...
1
vote
2answers
66 views

Contour plot of the imaginary portion of a function given the real part is positive

How do I plot the imaginary part of the function while its real part is positive? For example, for the below code I could have the imaginary part but I am not able to find the positive or negative ...
2
votes
1answer
59 views

Contour plotting multiple curves [closed]

I am wondering why the following does not work: eqns = Table[x + n y == n, {n, 1, 3}] ContourPlot[eqns, {x, -2, 2}, {y, -1, 2}] However, if I copy the output ...
1
vote
2answers
105 views

3D representation of a transcendental equation

Given a transcendental equation $F * exp [x] + x * y + sqrt[F-y] = 0$, is there a way for Mathematica to automatically 3D-plot F[x,y] depending on ...
4
votes
3answers
164 views

Colouring points in a Delaunay Mesh by the number of nearest neighbours

I apologise if this is a repeated question, but I've searched for a while and can't find anything. I'm doing some molecular dynamics simulations using Mathematica V10, and I've placed a ...
4
votes
3answers
219 views

Require assistance with plotting data!

I am new to mathematica and i was wondering if someone could help me to plot some data; This is my data that I need to use: ...
1
vote
2answers
70 views

ContourPlot giving all (most) contours the same shading

I am using a ContourPlot command to plot a function and unless I explicitly define the ContourShading I get the same colour used for most intervals. Is there any way to fix this? Here's the function ...
1
vote
1answer
43 views

Finding root when using Apply command

I have normally two equations system which I reduce to one equation and make its graphic. I could make the graph of the reduced equation but I can not find the appropriate command to find its root. ...
3
votes
1answer
91 views

clip a plot to sub-parts then merge

I have a start photo (StartShot) with 0-400, 0-400 coordinates: And this path: ...
2
votes
0answers
72 views

Black lines at the border of graphics

For a while I seem to have a problem with default black borders on plots. For instance, ...
0
votes
1answer
62 views

Plotting a function with insight to a special plot

I draw this plot: Plot3D[Sin[x] Cos[y], {x, 0, 4 \[Pi]}, {y, 0, 4 \[Pi]}] the default setting of Mathematica 10. results in the below plot: At the first I ...
3
votes
0answers
99 views

Hopf Bifurcation for a non-linear dynamical system [closed]

I am very new to mathematica and also to Hopf bifurcation or any bifurcation for that matter. But I am trying to obtain a Hopf bifurcation for a dynamical system. Now, so far, I cannot find any ...
1
vote
2answers
61 views

How to interpolate data and create a Density Plot?

I have data of the form: image := {{0.1,0.5,0.8}, {0.8,0.9,0.001}...} where the entries correspond to the following: ...
3
votes
1answer
162 views

How to change parameters to equations of physical properties they belong to in an equation?

First off, I want to apologize for my poor English as I am not a native speaker. In my physics research, I had to solve a system of equations, from which I would get a solution for the speed of an ...
1
vote
1answer
93 views

Why do Plot and ParametricPlot handle PlotStyle differently?

I would like to apply a custom PlotStyle (colors and dashing) to a plot of a bunch of expressions, which are in a nested list. I can do this fine when using ...
2
votes
2answers
70 views

How to plot a region of intregration of a bidimensional function?

I need to plot the region of the following integration $$ \int^{3}_{1}\int^{4}_{0}(e^{x}+y)dydx $$ How to do this?
6
votes
1answer
168 views

Trouble with shooting method for a 4th-order differential equation

I'm trying to solve the following forth-order ODE with the shooting method: $$\frac{1}{5}(y-2xy^\prime)=\frac{1}{x}\left\{\frac{xy^\prime}{y}+xy^3 \left[\frac{(xy^\prime)^\prime}{x} \right]^\prime ...
1
vote
1answer
37 views

Question about using Replace All where x gets replaced with x-h

I'm having a little trouble with replace all. I'm illustrating horizontal and vertical shifting of basic graphs. The vertical shifting work fine, but the horizontal shifting does not work and has ...
4
votes
2answers
836 views

Mathematica not plotting whole logarithmic function

I am trying to use the following input Plot[Log[E,x+1],{x,-50,50},PlotRange->50] however the output is: How can I adjust it so the line goes down to ...
0
votes
0answers
30 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
0answers
30 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] ...
5
votes
1answer
68 views

Would like to draw something similar to confusionMatrix created by ClassifierMeasurements

How do I show the values in each box? I know how to add the labels. Thank You
10
votes
2answers
277 views

How to “inform” successive ContourPlot calculations?

I need to draw some contour plots of very non-linear functions. As a simple example, take a Mandelbrot Set divergence contour near $z\approx i$. (Just to be clear, I'm not trying to write a ...
1
vote
1answer
38 views

two element ticks in a parametricplot

I'm struggling with parametric plot axes ticks edition. I need them to always have one (or two) digits after the coma but now they are like: 0,6 0,8 1, 1,2 1,4 and I need the to be like: 0,6 0,8 1,0 ...