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

learn more… | top users | synonyms (6)

2
votes
1answer
57 views

Increasing Plot3D speed when plotted function is Eigenvalue

This is probably a really simple fix, but I'm fairly new to Mathematica and am not sure how to do this properly. I know that trying to plot eigenvalues directly can be computationally expensive, so ...
2
votes
1answer
148 views

Using codes to replicate drawing tools in Mathematica

This might seem very obvious but I'm on the verge of losing all the annotations I've made on a graph because I can't figure a way to save it after using the drawing tool to add a few extras to the ...
3
votes
2answers
120 views

Positioning axes labels

I need to change the position of my axes labels such that the y-axis label is in the middle and parallel to the y-axis. I'd also like the x-axis label to be in the middle of the x-axis rather than ...
3
votes
1answer
43 views

Contourplot fails to plot x==0 if plot range is from 0

The simple command ContourPlot[x == 0, {x, 0, 1}, {y, 0, 1}] fails to plot the line x==0. However If I add a small buffer it ...
0
votes
1answer
63 views

Plotting the tangent of a curve [duplicate]

I'm new to Mathematica and this is probably child's play for most people, but I wanted to know how to plot the tangent of the function below at the point e=1/4 : ...
0
votes
1answer
27 views

Transpose four lists of data into two lists for use in List Plot [closed]

I have four lists of data x1 = {1,3,5,7} y1 = {0,2,4,6} x2 = {10,12,14,16} y2 = {8,10,12,14} In one line is it possible to use transpose to get two lists which ...
6
votes
2answers
212 views

Curvature Application

I found these amazing animations at https://courses.engr.illinois.edu/tam212/avt.xhtml#avt which I think will be wonderfully useful when teaching multivariable calculus next semester. I've started to ...
0
votes
2answers
85 views

Examining the equations of a Differential Op Amp

I want to examine the equations of a differential Operational Amplifier, specifically I want to examine how the tolerances of the resistors affect the resulting differential gain and common mode ...
1
vote
0answers
52 views

Change only tick labels while keeping default ticks [duplicate]

Consider the following Plot3D (although the same question might be asked for the 2D case) ...
1
vote
1answer
46 views

How to change the position of the PlotLabel? [duplicate]

PlotLabel positions the label on top of the plot by default. I would like to put it below the plot. How can I do that? Thank you.
5
votes
4answers
512 views

How to create a thick spiral then extract the coordinates from the image?

___________________ FOLLOWUP TO THE QUESTION : _____________________ Does anyone know how I could quantify the thickness of the spiral AND the thickness of the empty space between the arms? I know ...
4
votes
2answers
113 views

Find the area of a contour surface plotted by ContourPlot3D

I am looking for a way to find the surface area of a contour from ContourPlot3D. Here is an example where I might like to find the area of the contour surface to ...
15
votes
1answer
269 views

Implicitly defined compact complicated surface

A Seifert surface for the (3,4) torus knot is defined by the intersection of $S^3 \subset \mathbb{C}^2$ with the set $\arg(z^4-w^3)=0$. The boundary is at $z^4=w^3$ and this is the torus knot. Here ...
2
votes
2answers
62 views

Export NDSolve results

I can see the correct result of my NDSolve when I plot them with large PlotPoints. ...
0
votes
0answers
48 views

Defining A Function With A Certain Domain

I am trying to plot the numerical range a matrix, which is a set defined like so: $W(A) = \{\langle Ax,x \rangle : x \in \mathbb{C}^n \text{ and } ||x|| = 1\}$ In other words, I am trying to plot ...
2
votes
1answer
81 views

Large data -list contour plot -list log plot

I've a large data make matrix 100*100 and and other two sets of data represent the x and y axis. Each value in the matrix is a related to one value in x and one value of y. I ask about a way to plot ...
0
votes
1answer
49 views

Displaying Greek letters with subscripts inside plot [duplicate]

I am using ListPlot: ...
0
votes
1answer
46 views

Plotting based on all previous equation results [closed]

I have a plot Plot[40500*x^(-0.1), {x, 1, 100}, PlotRange -> {0, 50000}] Now, I am trying to plot the cumulative of these y values. I'll try to explain on an ...
2
votes
1answer
109 views

Help me export high-resolution TIFF figure

I have generated a figure in MMA by ContourPlot3D. How can I export this figure in high-resolution TIFF format(say, 1200 dpi for lines, 300 dpi for halftone and ...
2
votes
2answers
114 views

Plotting a set of points given by a complex expression [closed]

A have the set consisting of the complex numbers $1+3r \cosθ−ir \sinθ$, where $r∈[0,1]$ and $θ$ may vary between $0$ and $2π$. This is my first encounter with Mathematica, and am having difficulty ...
1
vote
1answer
89 views

Labeling a ListPointPlot3D

I've a problem with the label of ListPointPlot3D. I tried to reproduce a plot I've seen in a paper, but I was not able to reproduce it completely. Following and example of my data: ...
4
votes
2answers
162 views

Von Kármán Vortices

How may we vary vectors in StreamPlot[{y, -Sin[x/2]}, {x, -4, 12}, {y, -4, 4}, StreamColorFunction -> "Rainbow", AspectRatio -> Automatic] to obtain a ...
2
votes
1answer
92 views

trajectory density plot

I want to make a plot that shows the density of trajectories (x-y plots). In other words I want a plot that's analogous to this but with curves instead of points as data. Here's what I'm doing ...
7
votes
3answers
324 views

Gaps in simple plot

I am trying to recreate this which should be fairly straightforward with ParametricPlot, but wondering why this doesn't work: ...
0
votes
0answers
169 views

contour plot (cartesian) using spherical coordinates postions

Let´s say that I have a data in the following configuration: { Lat, Long,distance, energy}-> lat, long -> galactic coordinates, distance unit - parsecs (3.2 ly) energy unit- ergs. I need to plot ...
4
votes
3answers
157 views

How to produce a matrix plot from 3 matrices a, b and c following RGBColor[a[[i,j]],b[[i,j]],c[[i,j]]]?

I am trying to produce a single-plot from 3 matrices, let's say: ...
1
vote
2answers
133 views

Query in Lists Mathematica - Pivot table

Recently, I finished a simulation, and I got the following data: ...
7
votes
1answer
146 views

ContourPlot code that worked in 9 does not work in Mathematica 10

I updated to Mathematica 10 from Mathematica 9. I am trying to create contour plots. I have a saved file with some output that I made using Mathematica 9, with the following equation ...
1
vote
3answers
136 views

Plotting 3D Intersections

I'm trying to plot the intersections of four spheres. I've got the spheres plotted using: ...
1
vote
1answer
68 views

Apply solution rules to new functions as parameters [duplicate]

Update: I put an screenshot of how my code and problem look like at the end. Say that Mathematica solved a system of equations and got two answers {{a -> 3, b -> c, d -> 0}, {a -> -3, b -> 0, c -> ...
1
vote
1answer
123 views

How to make program for phase portrait?

I need to add a phase portrait to my program. The program is below, and I need to create a graph like the one in the picture. My step size needs to be 5, from x0,y0 = 10 to x0,y0 = 50. ...
1
vote
1answer
45 views

Changing arrowhwead size and other parameters when plotting vector fields

When plotting vector fields how to keep arrow head size constant, have the arrow LENGTH proportional to the MAGNITUDE of each vector, change the thickness of the vectors (but keep this constant) and ...
3
votes
2answers
74 views

Plotting two parametric regions together

I have the following code below, which allows me to plot two nice figures in the plane. ...
2
votes
0answers
49 views

Problem with plotting a function that calls FindRoot

I am having difficulties in plotting the solution of FindRoot to solve 4 variables. I defined a function and then tried tp plot it, but got an error message ...
1
vote
4answers
55 views

Slider for different plots

Hi I've got 12 different plots and I want to be able to cycle through them with a slider, however, none of the options for manipulate or slider seem to be able to handle multiple plots. My parameter ...
0
votes
1answer
37 views

pass fail criteria as legend in histogram and plot

I have a random data and want to plot the histogram with specific bin ranges. Each value of data[[x]] is actually [(data[[x]]*2.2)/4] with units as microns; where 4 is the magnification of microscope ...
0
votes
0answers
30 views

Color Gradient on points using ErrorListPlot

I am having some difficulties getting a value-dependent color gradient on points with ErrorListPlot. I am starting with a list looking like ...
3
votes
1answer
74 views

DateListPlot in webMathematica doesn't show FrameTicks properly

It seems that DateListPlot when used in webMathematica (3.3.1) show different output than in desktop Mathematica (10.1). In desktop Mathematica, if you evalutate ...
13
votes
2answers
352 views

Is FrameTicks broken in 10.1.0?

On my system, Mathematica 10.1.0 under Windows, none of these FrameTicks documentation examples work correctly: ...
2
votes
1answer
28 views

How to adjust the FrameTicks length in DateListPlot?

suppose I have the data for DateListPlot: ...
4
votes
0answers
38 views

SetOptions does not give expected result with Grid [duplicate]

Chech this example: ...
4
votes
1answer
66 views

NDSolve returns asymmetric solution to a symmetric equation

I am trying to find the potential of a conducting cylindrical electrode by solving the Laplace's equation. Both, the boundary conditions and the equation are symmetric w.r.t. the change $r\to-r$. ...
1
vote
1answer
111 views

How can I draw a box with moving particles inside and a hole in one side? [closed]

The idea is to create a simulation for ideal gas motion in a container that have a hole and then find the speed distribution for the gas particles that leave the box through the hole. I have a ...
1
vote
1answer
79 views

How to plot two random functions (Together)

I have ploted the next following jump diffusion model using Mathematica 10 $$X_t=X_0 e^{\sigma W_t+(v-\sigma /2)t}(1+J_1)\cdots(1+J_{N_t})$$ namely, a Geometric Brownian motion with compound Poisson ...
10
votes
3answers
183 views

Adds a rug representation to plot

This question came to me when I read How convert list of numbers to list of points on x-axis? @Mr.W suggested Interlacing a single number into a long list for the question. @Artes provides a very ...
5
votes
1answer
118 views

Set PlotTheme globally?

Can one set a default PlotTheme globally? While I recognize one can make lots of workarounds to sort of do this: Go to ...
2
votes
1answer
109 views

Three questions about two plots

I used the following code ...
0
votes
1answer
54 views
1
vote
1answer
41 views

How to apply different colors to different contours

I have searched the forum, I hope this isn't a duplicate question. I try to apply unique color for every contour line with the same elevation. In short, I want to create a MATLAB style contour plot. ...
-1
votes
1answer
49 views

Need help plotting multiple functions [closed]

a = 0.5 b = 0.33333 r = 1.5 e = -0.33333 f = 1 g = 1 m = 0.00001 n = 0.33334 o = 0.00001 p = 0.000003 DSolve[{ x'[t] == a*y[t] , y'[t] == -bry[t] - x[t] - e - f + g*y[t], z'[t] == ...