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

learn more… | top users | synonyms (4)

2
votes
1answer
520 views

Plotting Complex Roots of Unity [duplicate]

Possible Duplicate: Finding real roots of negative numbers (for example, $\sqrt\[3\]{-8}$) I am trying to make Mathematica plot the cube roots of $27i$ and graph them, so that I can include ...
5
votes
1answer
844 views

Calculus 1: Create the plot of a function satisfying certain conditions

Today in class we were shown how to create an infinite limit graph (plot) given the preceding conditions. While I have a fairly terrible sketch of this graph in my notebook, I'd like to create a clean ...
2
votes
1answer
161 views

Using Plot3D with one variable dependent on the other

Plot3D[f,{x,xmin,xmax},{y,ymin,ymax}] In the above , is there any way to give range of y in terms of x. I want to give like ...
0
votes
0answers
114 views

Why does mathematica crash when I rotate a 3D graph? [duplicate]

Possible Duplicate: SIGSEGV error with 3D Plots I just recently installed mathematica 8 on my linux machine, running ubuntu 11.10 I decided to tun and test mathematica so while the terminal ...
2
votes
0answers
180 views

how do you fix an axis in place for a movie? [closed]

I have a series of txyz coordinates, which I am plotting in space to create a movie of the objects' time evolution. With something along the lines of (simplified): ...
6
votes
6answers
1k views

How do I fill in a circle made by ParametricPlot with one solid color?

I have a very simple question but I am new with Mathematica. I made a circle on a parametric plot and I made the line black. I want to make the inside of the circle on the parametric plot red. So the ...
0
votes
1answer
271 views

Iterative way to find roots of confluent hypergeometric function

I am trying to find roots of confluent hypergeometric function and I wonder if I can choose the initial guess by the choice of $\beta$. ...
2
votes
2answers
620 views

Several functions in one RegionPlot with different grayscale

I try to plot the following, but something seems to be wrong in my code and I can't figure out how to fix it: ...
0
votes
1answer
421 views

Degree Symbol missing in PolarPlot when exported to PDF

I am trying to produce a polar plot. The axis should be in degrees. While no error occurs, the pdf export isn't working properly. Instead of the degree symbol I get ...
6
votes
2answers
328 views

3D Plot: Number of Roots in x of a polynomial in x, a, b and c

I have a polynomial in four variables x,a,b and c. The number of roots of the polynomial in x depends of the choice of a, b and c. I would like to have a 3D-Plot with a, b and c on the axes, while the ...
3
votes
2answers
3k views

How do I plot $x^2+y^2=1$ in 3D?

How would I plot $x^2+y^2=1$ in 3D (it would form a cylinder)? Since there is no $z$ in the equation, I can't solve for it and use Plot3D. Or can I just put the ...
11
votes
4answers
492 views

How to make a Line[] with no end?

I'm trying to do this: In this graph, the secant points are aproximated in order to become the tangent, it seems I need some kind of function which plots a line based on two points and it's points ...
4
votes
3answers
2k views

How can I plot the complex graph of $x^x$ in Mathematica? [duplicate]

Possible Duplicate: How to plot imaginary part of a function Plotting Complex Quantity Functions For example, this Wolfram Alpha query shows this graph: But it does not show the code for ...
3
votes
1answer
320 views

Problem in RegionPlot3D

I tried to plot the region bounded by the three planes. This is supposed to give me a pyramid type of shape (actually two, but I am just taking one of them). The code is given by ...
0
votes
1answer
552 views

Plot 3D vector that is a function of one variable

I have a function, r[t], which is a piecewise function that generates a 3D vector. It looks like this: ...
24
votes
3answers
7k views

Marking points of intersection between two curves

I'm trying to illustrate the solutions numerically and graphically for an equation such as Tan[x] == x. I think I did everything ok except I wanted to mark each ...
3
votes
1answer
88 views

Graphics[] not working from within For[]

Why is the following code not plotting the set of points from {1,1} to {10,10} ? For[i = 1, i <= 10, i++, Graphics[Point[{i, i}]]]
18
votes
3answers
1k views

Improve Plot3D resolution near max/mins

I have the following function $$V(r) = \sum_{i=1}^N 4 \epsilon_i \left(\frac{\sigma_i^{12}}{\|r-r_{0i}\|^{12}}-\frac{\sigma_i^6}{\|r-r_{0i}\|^6}\right)$$ which -for those interested- corresponds to ...
4
votes
1answer
254 views

How can I avoid label collisions? [duplicate]

Possible Duplicate: How can I influence the spaces between labels on a BarChart How can I avoid label collisions in plot ticks and labels? For example, here is a histogram with colliding ...
2
votes
1answer
208 views

Trying to plot ugly expression, not working

I have this ugly function : A[x_]:=((2 x^3 + 9 x^2 + 27 x + 3 Sqrt[3] (3 x^4 + 14 x^3 + 27 x^2)^(1/2))/2)^(1/3) (notice the fractional exponents at the end, it ...
2
votes
1answer
206 views

Why is LogLogPlot[] slower than Plot[]?

I notice that LogLogPlot runs quite bit more slowly than ordinary Plot. For example, consider the following two blocks of code ...
3
votes
1answer
389 views

Selecting polynomial roots and plotting against parameters

An implicit function $f(x,k)=0$ is quadratic in $x$ and contains one parameter $k$ which I must vary. Using Solve, I get two real solutions for each specific $k$: ...
4
votes
1answer
791 views

How do I use the ShowLegends function to produce a legend for my framed graphic?

I'm new to this site and new to Mathematica as you can see from my question. I'm also new to programming, btw. I'm trying to produce a legend for my plot which I've coded as follows: ...
5
votes
1answer
586 views

CustomTicks and ListPlot - Can't seem to get them working

I have a very large list of numbers like list={{a1,b1},{a2,b2},...,{ai,bi}} where a1 ranges between 10^-9 and 10^-5 and bi varies between 0 and 100. I have ...
10
votes
3answers
1k views

Manipulating the axis on a ListLinePlot

I am trying to create a plot using ListLinePlot in which the x-axis is represented in a logarithmic scale, and is reversed (so larger values are on the right side). ...
10
votes
4answers
716 views

Plotting a complex valued function over a circular region

I would like to apply some complex valued function to some region in the plane, say, a circle of radius $R$ centred at $k$. How can I do this?
7
votes
1answer
533 views

How to map rotate, pan, zoom to manipulate controls

I am wondering if there is a way to restrict the motion of the rotate mouse cursor in when moving around a 3d plot. For example, I want the y direction of the cursor to correspond to pulling the z ...
3
votes
1answer
258 views

Increasing the tickrate of an ErrorListLogPlot

I'm new to Mathematica and am trying to do an ErrorListLogPlot using the "ErrorBarLogPlots" package (from the Wolfram Library) for a graphical evaluation. ...
8
votes
2answers
255 views

Manipulating OptionsPatterns[]

How do you combine OptionsPatterns? For example, I would like to have a function that can take both options that I specify, and options for all graphs: ...
0
votes
1answer
733 views

How to add a grid on Plot, ListLinePlot and ListPlot? [duplicate]

Possible Duplicate: How to insert guide-lines in graphics without specifying range? When we're using ArrayPlot, it's possible to draw a grid by doing: ...
4
votes
1answer
576 views

Draw tangent to point in ListLinePLot

I am using ListLinePlot to draw a number of points to a graph: ...
2
votes
3answers
220 views

Plotting function lists [duplicate]

Possible Duplicate: Difference in Plot when using Evaluate vs when not using Evaluate Why do I have to put Evaluate[] here Why is ContourPlot not displaying this curve? Why is nothing ...
6
votes
2answers
1k views

How to mark visible points on a Plot3D?

I'd like to illustrate a two-variable function discontinuous at zero. The function is $f(x,y)=xy/(x^2+y^2)$ unless $x=y=0$, in which case $f(0,0)=0$. I thought that I could draw a plot and then mark ...
0
votes
1answer
819 views

How to plot the convolution of dirac delta series with a sine function [closed]

I am new to mathematica. I do the convolution of dirac delta :(DiracDelta(x-10)" with "sine(t),t=0-pi". How to plot the output ? Theoretically, the full wave should appear at the location of the ...
26
votes
4answers
3k views

Density plot on the surface of sphere

I would like to make density plots of a list of (size 2 or 3) spherical harmonics on the surface of a sphere. I'd like to plot it so that each element of that list is using a different color (red ...
0
votes
2answers
617 views

Plotting multivariable integration

If I have a multivariable integration like NIntegrate[x^2 + y^2, {x, 1, 5}, {y, 6, 10}] But I need to plot its result in terms of ...
6
votes
1answer
265 views

ArrayPlot with cells labeled by corresponding values

I would like to have ArrayPlot[] also present the value of each cell in it, similar to the LabelingFunction that is available in ...
2
votes
2answers
661 views

Manipulate a Differential Equation result

I want to Manipulate the result of Differential Equation like : ...
3
votes
1answer
296 views

Creating multicolored meshed plots (connected scatter plots) using ListPlot

I would like to make colored scatter plots where the dots are connected by lines. I have tried the following, using Joined->True to connect the dots and ...
6
votes
2answers
567 views

Implicit Equality and RegionPlot

I have the following problem: I would like to do a RegionPlot like RegionPlot[F[x,z,y]<1,{x,0,1},{y,0,1}] The problem is that the variable z is an implicit ...
9
votes
4answers
3k views

Filling between boundaries

I would like to visualize what it graphically means to integrate between two boundary values. Therefor I'd like to make a Filling between these two values. Is there a way to get this done?
4
votes
3answers
894 views

How do I make a log plot where the plot is logarithmic in the distance from the X-Axis (including negative values)?

For example, if I were to do a plot of Sin[x], I would get what looks like a Log plot of Sin[x], with another log plot of ...
3
votes
2answers
519 views

Getting consistent Ticks lengths and TickLabels positioning

From the Documentation, Tick mark lengths are given as a fraction of the distance across the whole plot. I wish to have identical tick mark lengths for both horizontal and vertical ticks and I ...
2
votes
2answers
677 views

Interpreting the interpolating function and saving data to plot with external program

So far I have been solving non-linear pdes with NDSolve and then plotting the result with the in-built Plot3D and ...
3
votes
1answer
6k views

Plot Log scale on X-Axis?

There's documentation on how to do a LogPlot with respect to Y-axis, but how would you do the same for the X-axis? Is there some Plot option? For example, here are some examples that plot Log scale ...
3
votes
2answers
380 views

Horizon Plots in Mathematica?

I am trying to create horizon plots in Mathematica similar to what is described here: http://timelyportfolio.blogspot.com/2012/08/more-on-horizon-charts.html Any suggestions how to approach this?
3
votes
1answer
714 views

GridLines at TickPositions

How can I force the GridLines to be at the positions of the Tick marks? A simple code, FrameTicks -> Automatic and ...
11
votes
3answers
2k views

How to express ticks in scientific form? [duplicate]

I want to express the ticks in scientific form. I tried two ways as following ...
3
votes
1answer
1k views

How to align rotated tick labels?

How can I align tick labels so the tick label text ends centered under the data point? Of Course it works fine with a rotation of 90 Degrees, but not with 45 or similar angles. I see an example of ...
1
vote
2answers
597 views

How to draw a tangent to a surface in a given direction?

It seems quite embarrassing for me, but somehow I can't draw a tangent line to a surface in a given direction. Assume that I want to visualize directional derivative of the function, say, ...