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

learn more… | top users | synonyms (4)

0
votes
1answer
63 views

Plotting 2D color function on the plane [duplicate]

Suppose p is a some point in the plane. The function f[q] defined as ...
0
votes
0answers
33 views

How to extract data from a plot? [duplicate]

Here is the equation I want to plot, ...
0
votes
1answer
112 views

How to plot data points in the form X, Y, E(X, Y) where X and Y coordinates are not ordered?

I have got a file with field values (RF simulation of a resonator) which consists of 3 columns: X and Y cartesian coordinates ...
3
votes
3answers
254 views

Plot graphs with direction and numbered in Mathematica

I would like to write a code in Mathematica such that it shows the direction with numbers on points. I wrote this code which does not do this. I want just to complete this code with two options I ...
0
votes
2answers
154 views

Plotting a solution of the Allee Effect

I am doing a project on the Allee Effect. I am able to successfully create a stability analysis. That is, I can find the relevant equilibrium points ($y_e = 0,\ y_e = \alpha$ and $y_e=k$) and draw ...
1
vote
2answers
82 views

I've some data points in Mathematica. I want to plot these in MATLAB. How to do that? [closed]

I want to export these data points into matlab and get a plot. Like I've to plot ft vs t. Through the following command- Table[{[Tau], ft[2, 5, [Tau]]}, {[Tau], 0, 15, .01}], i generated some data ...
0
votes
2answers
113 views

how do I plot this surfaces in 2-D?

Let $x_1$ and $x_2$ be two real numbers and define the column vector $\mathbf{x}=[x_1,x_2]$. Let $\mathbf{A}_1$ and $\mathbf{A}_2$ be two $2\times 2$ real symmetric matrices. Then I need to plot the ...
4
votes
1answer
84 views

Revolving an axisymmetric image for volumetric rendering

I have a series of axisymmetric images of a jellyfish swimming in fluid. Overlaid on these images are plots of the Lagrangian coherent structures associated with swimming, which highlight the fluid ...
0
votes
0answers
82 views

Parametric Plot not plotting all points

Basically I have a system of inequalities which I am solving and plotting using Mathematica. For example I have a system which has infinitely many solutions (it's unbounded). So I plot the system ...
2
votes
2answers
73 views

Fill gap created by Exclusions

A gap appears at the locations of Exclusions at t=1,t=1+t0 when the top slider for t0 is set to Play. How can these gaps be avoided or filled in? ...
3
votes
2answers
165 views

Plotting a parametric function with three input variables

I want to plot a 2D parametric function of the form: $$ f_x(\theta_1,\theta_2,\theta_3) = \cos(\theta_1)+\cos(\theta_1+\theta_2)+\cos(\theta_1+\theta_2+\theta_3) $$ $$ f_y(\theta_1,\theta_2,\theta_3) ...
7
votes
1answer
116 views

Bug in DateListPlot in Mathematica 10

Mentioned this already in an answer to a related question. DateListPlot in Mathematica 10 has a horrible bug: If two points have the same time coordinate, only one is plotted; the others are ignored. ...
7
votes
3answers
106 views

Ticks disappear in Graphics3D with Epilog

Normally, you can enable Graphics3D to show tick marks by doing this: Graphics3D[Sphere[], Axes -> True] But in ...
1
vote
1answer
63 views

Plot failing when given a list of functions

I wrote a code which plots a Maclaurin expansion of cos(x) in various degrees. ...
1
vote
1answer
104 views

When plotting vector fields what is the difference between the following?

I am a new Mathematica user, and I have run into a question. What is the difference between the output of the commands: ...
4
votes
2answers
150 views

Mark Minimum Value in DensityPlot

Let's take this example: DensityPlot[Sin[x] Sin[y], {x, -4, 4}, {y, -3, 3}] How do I retrieve the minimum value and position of the minimum of a plot from the ...
1
vote
0answers
39 views

Moments Ratio Plot using “ProbabilityDistribution”

I am trying to plot moments ratio plot with the following code: ...
3
votes
2answers
147 views

The value of an option inside a native function

I'm looking for something similar to AbsoluteOptions but that can be evaluated inside the function. That is, I want to read the absolute settings of options ...
3
votes
3answers
229 views

ContourPlot - unequal contour spacing

how can i specify the contour spacing or how the color range is distributed amongst the function values? Let's say i plot some function depending on x and y. Function values differ between [0, 1]. I ...
3
votes
2answers
276 views

Plot “OilReserves” using CountryData from 1985 until 2014

I am newer using Mathematica to plot with the Function: CountryData, I am trying to plot "OilReserves" in "UnitedKingdom" from 1985 until 2014. I don't know how to do it, please help me!
13
votes
2answers
200 views

PlotLegends -> “Expressions” not working when Plot given one function

I don't get a legend when I use the option PlotLegends -> "Expressions" when the first argument to Plot is a single function. It works OK when I give ...
3
votes
2answers
91 views

Plot data as TradingChart

Does anyone know how to make a two data plot such that one of the data samples is showed as the volume transactions in TradingChart function? Thanks. EDIT: Sorry ...
3
votes
1answer
175 views

Circular membrane vibration simulation

I'm new in Mathematica and I'm trying to simulate the vibration of a circular membrane for math project but I don't even know how to start. The wave equation describes the displacement of the ...
0
votes
0answers
32 views

Resources/ best practices for exploratory economic theory work

This is a little general, so I will try to make it as specific as possible. I used Mathematica a fair amount to derive and check analytical solutions to problems in theoretical economics. Lots of ...
1
vote
2answers
227 views

How do I plot the differential of this function?

Suppose I have this function: $$z(x,y) = \left| \frac{ \frac{1}{3x +iy} -2x}{iy + \frac{1}{x}} \right| $$ I want the contour plot of $\frac{\partial z}{\partial x}$ with axes $(x,y)$. Tried this ...
2
votes
3answers
163 views

How to combine a plot with an image

I have an external data file data which contains the position of stars of a galaxy simulations and it looks like this ...
3
votes
0answers
99 views

How does Mathematica identify outliers? [closed]

I don't see anything in the documentation about how Mathematica identifies outliers (in a box plot for example). What definition is being used?
6
votes
0answers
86 views

Behaviour of Plot3D with large numbers [duplicate]

I have a problem with Plot3D. At first I thought it was a problem in general, but while creating a minimal example for posting here, it came out to be a problem with large numbers ...i guess. Let's ...
0
votes
1answer
78 views

Finding maximum/minimum value of system of inequalites

How would I get the maximum values for x1 and x2 given that I have plotted the region governed by the following system of ...
1
vote
1answer
68 views

Plot sets in the complex plane [duplicate]

I just want to know if there's a way to plot sets in the complex plane. For example $$A=\{z\in \mathbb{C},z+e^{z}=0\},\\A=\{z\in \mathbb{C},\Re(z)+e^{z}\geq0\}.$$
3
votes
1answer
51 views

How to make PlotMarkers constructed from Graphics track plot style?

In this plot the Disk[] markers are not colored according to the style of the line to which they belong: ...
5
votes
2answers
51 views

Why does Rotate in PlotMarkers behave strangely?

While answering Change the inner color of markers I came across a behavior that may be a bug. I would like to know if there is another explanation. First a basic example of normal behavior: ...
1
vote
2answers
70 views

Manipulate is evaluated slowly

I have this function: f[k_, θ_, ϕ_] := Cos[k*Cos[θ]*x + k*Sin[θ]*y - ϕ] I want to change the parameters $\theta, \phi,$ and $k$ to see the effects on the ...
4
votes
2answers
52 views

How can I make DensityHistogram obey the lower bound in PlotRange in version 10?

In version 9, DensityHistogram worked with PlotRange as expected: ...
0
votes
1answer
63 views

3D Contour Plot parts of sphere with gradient less than 0, equal to 0 and more than 0

I want to plot only parts of the sphere of radius 1 where the gradient $\frac{\partial z}{\partial x}$ is < 0, = 0 and > 0. The full sphere is given by: ...
1
vote
1answer
79 views

ListPlot with conditions

I have a data file containing the position of about $10^5$ stars of a spiral galaxy. Here is the plot and this is the corresponding code ...
5
votes
1answer
105 views

How to plot stability region of Fourier analysis

Stability limits for Runge–Kutta methods in the complex ΩΔt-plane are needed to be plotted like this: For example, let P=1+z where ...
0
votes
2answers
100 views

How can I graph an equation with five variables?

{c*((a - b*Cot θ)/(Subscript[r, 1])^4) + ((b*Csc θ)/(Subscript[r, 2])^4) This is a form of Poiseuille's Law I need to graph. I want the value of the variables to ...
3
votes
2answers
126 views

Fourier Analysis: How to get rid of a discontinuity

When I compute the phase error of a spatial series data using Fourier analysis in Mathematica there's a discontinuity @ parameter ...
3
votes
0answers
64 views

Plot more points only in specific region of plot

I have the code shown at the bottom of this question which generates a 3D plot. There are locations where the two surfaces you see form cones and touch at infinitesimally small points. These points ...
4
votes
0answers
94 views

ErrorListLogPlot gives wrong error bars on log scale

From this and this post I learned how to use ErrorListLogPlot and its family to add error bars on top of a list of mean values. However, consider this simple ...
0
votes
1answer
82 views

Plot groups based on unique tag

I have a .csv file that has 12 columns and 511 rows. data = Import["C:\\Users\\Documents\\data\\AllResults\\result1.csv"]; The first two columns are id tags. I ...
11
votes
3answers
479 views

Change the inner color of markers

I would like to have a marker with white as its inner color, to be able to make this kind of graph: If I use PlotMarkers -> Style["\[FilledSquare]", White], ...
2
votes
0answers
49 views

BoxWhiskerChart with logarithmic axes 2

I actually already found my answer on the question, however it is not working. see BoxWhiskerChart with logarithmic axes I want to create a boxwiskerchart with a logaritmic axes. But when I try ...
2
votes
2answers
60 views

Show the arrows in a plot [closed]

I have two plots: ...
9
votes
1answer
137 views

PlotMarkers problem in ErrorListPlot, Mathematica 10

I recently upgraded to Mathematica 10, very excited about the multiple undo function of course. However I very quickly noticed that if I specify a setting for ...
0
votes
1answer
55 views

Is it possible to plot a second-order curve by its non-canonical equation?

I have this second-order polynom: $$ 6xy+8y^2-12x-26y+11=0 $$ And I need to reduce it to a canonical form of a second-order curve. I solved this, but is it possible to draw a plot of the original ...
2
votes
2answers
92 views

How to automatically plot asymptotes? [closed]

I'm a newbie to Mathematica and I'm reading through "The Student's Introduction to Mathematica, Second Edition" and am on the "Using Mathematica’s Plot Options" section of chapter 3. The examples for ...
1
vote
1answer
65 views

Manipulate gives the output as a blank plot, but I'm not sure why [duplicate]

I'm using Mathematica 9 to try to manipulate a 3D plot. My code is: ...
1
vote
2answers
77 views

Exporting an overlay of two plots

I have a ListLinePlot and I'm trying to place a close-up of a specific range in the ListLinePlot. Using overlay I solved this problem with: ...