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

learn more… | top users | synonyms (6)

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
412 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
56 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: ...
3
votes
2answers
80 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
113 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
293 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
136 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
45 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
93 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
128 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
82 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
236 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
98 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
147 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
77 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
454 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 ...
8
votes
2answers
427 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
75 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
58 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
64 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
74 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
146 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
64 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
132 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
82 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
63 views

Van der Waals Isotherms [closed]

I have the following code: ...
10
votes
2answers
141 views
3
votes
1answer
97 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 ...
6
votes
1answer
64 views

How to plot the zero set of certain functions?

I'm working with functions that look like $$P(z,w)=\sum_{|i|+|j|\leq n}c_{ij}\cdot z^i w^j.$$ Where the exponents $i,j\in\mathbb{Z}$ and $c_{ij}\in\mathbb{R}$. I'm interested in plotting the image of ...
1
vote
1answer
56 views

Remove overlapping axis labels in orthographic view

I tried: ...
22
votes
2answers
1k views

Trying to Visualize a Collatz - The Collatz conjecture

So I'm new in this and learning--- and I happen to have this collatz collatz[x_, y_] := If[x == 3*y || x == 2*y + 1 || y == 3*x || y == 2*x + 2, 2, 0] So i want ...
13
votes
1answer
448 views

Mathematica: 3D plot based on combined 2D graphs

I have several sigmoidal fits to 3 different datasets, with mean fit predictions plus the 95% confidence limits (not symmetrical around the mean) and the actual data. I would now like to show these ...
1
vote
0answers
49 views

Learning mathematica, ListPlot [closed]

I am trying to teach my self Mathematica. I am working with the following example: ...
4
votes
1answer
105 views

How to automatically align multiple legends in Show [duplicate]

I am looking for a way to align two multiple legends while I can control the position of one of the legend myself. Consider the following code. ...
0
votes
0answers
68 views

Does ListPlot have a bug when plotting large lists?

I was able to plot the first 13315 points of my data, but as soon as I try to plot one more data point, it no longer works. If you load the data contained in the google doc file 19857 pairs of data, ...
1
vote
1answer
113 views

Plotting a best fit line for listloglogplot data

After playing around with calculating the Overlapping Allan Deviation for my research project (and with much help from this community), I have finally resolved a correct listloglogplot for simulated ...
0
votes
0answers
32 views

Plot / Contourplot When are variables assigned? [duplicate]

I asked a question recently that made me clear, that I don't understand how Plot / Contourplot works. If I have something like ContourPlot[f, {a,-10,10},{-10,10}] where ...
0
votes
0answers
52 views
1
vote
0answers
79 views

Bessel functions and ListContourPlot [closed]

I'm trying to plot some eigenfunctions (for a semicircle) in Mathematica. Functions are of the following form: $$g_{ms}=J_{2m+1}(y_{ms}x) \sin ((2m+1)\varphi)$$ For example, for $m=0$ and $s=1$ it ...