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

learn more… | top users | synonyms (6)

1
vote
0answers
57 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
188 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
93 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
529 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
61 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
206 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
364 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
56 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
88 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
118 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
394 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
66 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
74 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
54 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
97 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
81 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
74 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
58 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
108 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 ...
12
votes
1answer
280 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
122 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
43 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. ...
1
vote
1answer
87 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
125 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
80 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
234 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
1answer
83 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
146 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
74 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
445 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
418 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
78 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: ...
3
votes
1answer
74 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
54 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 ...
2
votes
1answer
57 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 ...
2
votes
1answer
79 views

Legend is too long

I've a problem with the legend of my graph. I've customized the graphs of my papers in an acceptable way for the a lot of journals. But this time I've two problem: Is there a simple way to write the ...
0
votes
0answers
58 views

Plotting Real and Imaginary parts of Riemann Surfaces

I'm working on a project where I need to take curves like, for example, $y^{2}=(x^{2}-1)(x^{2}-3)$ and plot their real and imaginary parts. More specifically, let $x$ just be real and then plot ...
1
vote
1answer
85 views

Plotting data after fitting it to exponential function [closed]

I am trying to plot h vs t such that h fits a equation ...
3
votes
1answer
137 views

Transforming a region obtained with RegionPlot

I have a region r0, obtained from an interpolated function, with the use of RegionPlot. Let's call this function under the ...
1
vote
0answers
63 views

Arrange order of evaluations (please help these unit vectors)

I need help to control order of evaluations. Here I try to use Manipulate to control n unit vectors. Their positions are initially random but head left. The 2 operations are 1) translation: moving ...
3
votes
3answers
126 views

Plot closed surface with ListPlot3D

I have some points in 3D space that I want to plot as a closed surface. My data is at the bottom of this post. I tried with ListPlot3D but I got something I don't ...
0
votes
3answers
79 views

Plotting complex function

(9 Tanh[x]^8 (1 - 2 Tanh[x]^2)^2 (1 - Tanh[x]^2))/(1 + 3 I Sqrt[2/13])^2 How can I plot the function with the range of x {-10,10}?
0
votes
1answer
57 views
1
vote
1answer
60 views

Van der Waals Isotherms [closed]

I have the following code: ...
10
votes
2answers
141 views
3
votes
1answer
96 views

FindShortestTour 3D data

I would like to plot a line in 3D with the following set of (x,y,z) data points: ...
0
votes
0answers
34 views

Narrow a Drawing Tools Window

I used the Graphics->New Graphic, then the Drawing Tools to create this in my notebook. Now, you can see that there is wasted whitespace above and below my line. I tried dragging all the sides and ...