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
115 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
118 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
94 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: ...
5
votes
2answers
172 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
117 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
329 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
182 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
161 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
137 views

Query in Lists Mathematica - Pivot table

Recently, I finished a simulation, and I got the following data: ...
7
votes
1answer
148 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
139 views

Plotting 3D Intersections

I'm trying to plot the intersections of four spheres. I've got the spheres plotted using: ...
1
vote
1answer
69 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
126 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
48 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
79 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
54 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
58 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
40 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
32 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
81 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
361 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
29 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
67 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
118 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
80 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
188 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
77 views
1
vote
1answer
47 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] == ...
1
vote
0answers
59 views

Mathematica does not recognize RegionPlot3D? [closed]

I've been desperately trying to graph a 3D region fitting the following three inequalities: -x <= z <= x -y <= z <= y (x-y)/2 <= z <= (x-y) ...
7
votes
1answer
200 views

Plotting iterated function system images

I'm new not only to this forum, but to Mathematica in general, evidently. I'm running into an issue, and my best attempts at Googling solutions (and trying the search box for this forum) came up with ...
1
vote
2answers
99 views

Plotting data from multiple text files

I'm new to mathematica and stack exchange, so any help would be appreciated. I want to plot a bunch of data from text files that contain a lot of extraneous data. I have a hundred files with different ...
14
votes
4answers
531 views

How to plot Ramanujan's continued fraction in Mathematica?

I want to plot Ramanujan's continued fraction: $$R(q)=\cfrac{q^{1/5}}{1+\cfrac{q}{1+\cfrac{q^2}{1+\ddots}}}$$ but I do not know how to define this function in Mathematica. How do I define and plot ...
0
votes
2answers
62 views

How do I plot this function? [closed]

I have this function that I need to plot y[x] == 0.140628 + (-3.55298 - 4.10235 E^(0.14212 x))^(-1) I have tried ...
5
votes
2answers
210 views

PlotMarker differences in ListPlot between Mathematica 10.0.1 and Mathematica 10.1

I try to plot this data with ListPlot ...
25
votes
0answers
380 views

Summer Solstice Spurious Correlations Challenge

I came across this hilarious web site that has charts of bizarre "correlations" between disparate categories. Results like this: In the spirit of my summer solstice shedding spuriously earned rep. ...
3
votes
2answers
57 views

Limiting grid line length in combined TimelinePlots

I am trying to make a complex TimelinePlot in which temporal periods are indicated as shaded areas (using Filling -> Axis) ...
2
votes
1answer
89 views

Using PlotRange to cut off outlying points

In the documentation for PlotRange, there is the following line: If a particular minimum or maximum is specified as {Automatic, α}, this means that the range ...
-1
votes
1answer
62 views

3D plot in spherical cordinates [closed]

Y = 0.04 *sqrt (5/(16*pi))*(3*cos[Theta]^2 - 1) + 0.08*sqrt(6006/pi)/64*((1 - Cos[Theta]^2)^3)*Cos6[Phi] Theta = [0, pi]; Phi = [-pi, pi] Need to plot ...
2
votes
0answers
126 views

Export 3D plot or Graphics3D object as stereoscopic 3D .jps file

I recently came across some Matlab code to output a 3D graph as a stereoscopic left/right .JPS file, viewable e.g. with 3D Media Viewer, Stereoscopic Player or using any 3D television or beamer: ...
0
votes
1answer
66 views

Why I got -Graphics- when i use “Plot”? [closed]

Recently, when i use "Plot" in mathematica 9.0, the result is -Graphics- not a picture. How can i solve this problem?
6
votes
4answers
407 views

How to color the same contour line with different colors according y value

Here is an example: ContourPlot[Sin[y - x^2] == 0, {x, -1, 1}, {y, -10, 10}] Because all these separate lines come from the same contour line ...
0
votes
2answers
68 views

Create a moving plot along a parametric plot using Manipulate?

I have been looking through Manipulate examples and haven't been able to create a working plot yet. I have a parametric plot defined: ...
3
votes
2answers
77 views

Permanently Changing Default Color

I can't find this answer elsewhere, but is there a way to permanently change the default plot color? In 10 the default plots are orangish and in 9 they were a purple-bluish color. Is there a way to ...
1
vote
0answers
55 views

Finding the global extrema of a surface? [closed]

I am trying to figure out how to find the global extrema of the function surface shown below and can't seem to get answers that make any sense. I am using the FindMinimum and FindMaximum functions ...
3
votes
2answers
102 views

Put together two ListLinePlot with right alignment

I would like to ask for some help to figure out how can i put two ListLinePlot together with right alignment. Here is what i tried to do: ...
2
votes
2answers
83 views

Plotting a 2D mapping of a 2 column ASCII

From my SIMS I can export the image mappings in form of a two column ASCII file. For example if it were a 5x5 pixel mapping, it would give something like this: ...