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

learn more… | top users | synonyms (5)

13
votes
2answers
333 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
24 views

How to adjust the FrameTicks length in DateListPlot?

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

SetOptions does not give expected result with Grid [duplicate]

Chech this example: ...
2
votes
0answers
42 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
104 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
77 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
165 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
112 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
85 views

Three questions about two plots

I used the following code ...
0
votes
1answer
42 views
1
vote
1answer
36 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
47 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
56 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) ...
6
votes
1answer
175 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
75 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 ...
13
votes
4answers
482 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
59 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
199 views

PlotMarker differences in ListPlot between Mathematica 10.0.1 and Mathematica 10.1

I try to plot this data with ListPlot ...
24
votes
0answers
339 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. ...
2
votes
1answer
84 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
100 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?
5
votes
4answers
365 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
61 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
72 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
53 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
90 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
80 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: ...
3
votes
2answers
71 views

Plot with special special gridlines [closed]

I would like to plot a function in plane with axes grid-lines labeled as follows, $1,\sqrt{2},\sqrt{3},\sqrt{4},\sqrt{5},\ldots$, instead of the usual 1, 2, 3, 4, 5, ....
4
votes
1answer
56 views

ListLogLinearPlot with customize Mesh mix up the markers in multiple curve

I have to plot several curves in logarithmic scale. I used ListLogLinearPlot and customized the Mesh option. Then the markers mixed up. ...
0
votes
0answers
15 views

How to plot `y=y[x]` from `f[x_,y_]=f0` [duplicate]

Given a two-variable function f[x_,y_]:=(*complicated stuff in terms of x and y *) what I want is to do is Plot ...
0
votes
0answers
105 views

MeshFunction at azimuthal angles for RegionPlot3D

Edit: I said "polar angle"... It should be "Azimuthal angle". Sorry. I want to plot a Mesh line at a certain azimuthal angle in RegionPlot3D. My goal is to ...
10
votes
1answer
211 views

How do I create a triangulated surface from points?

I have a set of points in a nx3 matrix and I would like to convert them into a surface, so that I may calculate its surface area. The function ListSurfacePlot3D creates the surface how I want it. ...
3
votes
2answers
109 views

Matrix Plot: How to Apply color function to only a region of the plot

I want to make a matrix plot where a color function is applied to a region of a matrix. Those matrix elements which were not in the region specified should not have any color associated with them, and ...
2
votes
1answer
39 views

NumberLinePlot issue depending on number of elements being plotted

When evaluating this: Table[n -> NumberLinePlot[{Range[n], Range[n]+.1}], {n, 4}] we get this output: Why is it different for n=2? Looks like a bug to me. ...
0
votes
0answers
9 views

What are some of the iconic mathematical images ever done in 3D and 4D? I've mentioned just a few [migrated]

Since I'm on my school break I'm trying to visualize mathematics, I encountered a visualization of the following(3D). Deformation of the Riemann surface of an Algebraic function by Anatoly ...
1
vote
1answer
83 views

ListPlot with checkboxes [duplicate]

I have imported data for several projects {prj1, prj2, ...} from an excel file, in form of {x,y} coordinates of points. I stored these data in variables and I would like to plot them, also having the ...
4
votes
2answers
120 views

How can I use sequence in plotting domain?

I would like to plot a function but have a domain defined elsewhere as follows: xrange = Sequence[0, 2π]; Plot[Sin[x], {x, xrange}] However, this doesn't work ...
0
votes
1answer
78 views

Can't get a plot from piecewise parametric function [closed]

I can't seem get a 3D plot from r[t]. Any suggestions? ...
8
votes
5answers
229 views

Use different markers/colors in logarithmic plot depending on sign

Suppose you have the dataset xData = Table[i, {i, 1, 30}]; yData = RandomReal[{0.995, 1.005}, 30]; and want to plot the difference of ...
0
votes
0answers
63 views

Intra day data with TradingChart

I am trying to use TradingChart to display some intra day data (60 s. resolution). Is there a way to modify the time displayed when moving the mouse over the data. The default setting (see top left of ...
3
votes
3answers
143 views

NDSolve and Plotting

So I am having an issue using NDSolve and plotting the function. So I have two different NDSolve calls in my plotting function. ...
1
vote
1answer
72 views

How to make a StreamPlot with three variables and two expressions

I'm trying to make a StreamPlot in Mathematica with three variables. I already have two variables, x and y, that make an ellipse via StreamPlot[{-y,x}] but I ...
24
votes
3answers
440 views

Place a small gap between axes and plot?

See for example this picture produced with R: You can see there is a small white space between the x-axis and the y-axis, so that the axes do not cross. How can I do this with Mathematica, for a ...
7
votes
2answers
410 views

How to draw a protractor in Mathematica

I would like to draw a protractor with Mathematica. I hope this is a fun question. Here is some start codes I tried: ...
2
votes
2answers
76 views

Switching between solutions of a fourth order polynomial

I am plotting the roots of a fourth-order polynomial as a function of some parameter $r$ with the following code: ...
2
votes
1answer
72 views

Duotone plots with cyan and black

What's the typical way to make Mathematica plots use purely cyan and black? Maybe there's a fairly standard method, since publishers often require this? It also seems like some plot types take ...
0
votes
0answers
51 views

Plotting complex roots of equation involving special functions

I consider an equation of the kind $u(k,\lambda)=0$, where $u$ involves special functions, ParabolicCylinderD, and $k$ and $\lambda$ are real parameter. By implicit ...
1
vote
1answer
49 views

Contours aren't aligned with frame ticks in ContourPlot

Because of the problem described in BarLegend can't make spaced contours when contours number>11, I decided to brew my homemade spaced-contours-barlegend. After some trials I get something like ...