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

learn more… | top users | synonyms (8)

3
votes
1answer
317 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. ...
2
votes
3answers
310 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 ...
0
votes
1answer
1k 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
890 views

Draw tangent to point in ListLinePLot

I am using ListLinePlot to draw a number of points to a graph: ...
6
votes
2answers
2k 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
1k 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 ...
6
votes
1answer
357 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 ...
8
votes
3answers
922 views

Can I limit PlotRange for 1 function in a Plot?

I have a 2D Plot of 3 functions Plot[ { f1[x], f2[x], f3[x] }, { x, 8, 18 } ] where I want f3[x] only plotted for the range [10, 18] instead of [8, 18]. Is that ...
2
votes
2answers
1k views

Manipulate a Differential Equation result

I want to Manipulate the result of Differential Equation like : ...
6
votes
2answers
788 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 ...
4
votes
1answer
426 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 ...
4
votes
3answers
2k 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 ...
6
votes
2answers
1k views

Plotting a path in a vector field

I am trying to make a visual representation of the curve $y=x^{2}$, with $x\in\left[0,1\right]$ in the vector field defined by $\vec{F}=\left[-y,x\right]$. However, as far as I can tell there does ...
12
votes
3answers
5k 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

GridLines at TickPositions

How can I force the GridLines to be at the positions of the Tick marks? A simple code, FrameTicks -> Automatic and ...
3
votes
2answers
415 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?
5
votes
1answer
12k 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 ...
1
vote
2answers
1k 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, ...
1
vote
1answer
484 views

Is it possible to plot a function using Plot3D and a curve using ParametricPlot3D in the same picture?

I'd like to plot a graph of a function using e.g. Plot3D and then a line (in general a curve, in my case a straight line, tangent at some point to the surface just ...
1
vote
1answer
1k views

Different Plot Filling for multiple curves

Warning: possibly dumb question :-( I have two functions I want to plot with the Filling option, like: ...
4
votes
3answers
994 views

Reversing one axis in Plot3D

When I rotate my 3D plot to the desired viewpoint my X axis runs from 1 at the left to 0 at the right. How can I mirror my plot so that 0 will be at the left and 1 at the right? Extra credit: how ...
2
votes
2answers
241 views

Applying a function to list of points and plot the results in ListPlot

Assume there are three groups of 2-dimensional coordinates data = RandomVariate[NormalDistribution[#, .25], {15, 2}] & /@ Range[3]; Is there a way to ...
11
votes
3answers
2k views

Drawing outside Plot area

I want to programmatically draw some objects outside the Plot area in my Plot's Epilog, like in this dummy: I found PlotRangeClipping and hoped that would be the ...
17
votes
2answers
2k views

What is the fundamental difference between ArrayPlot and MatrixPlot?

Suppose I have a matrix called data. It seems that I can plot data using either ArrayPlot or ...
1
vote
1answer
497 views

Omit part of a 2D plot [duplicate]

Possible Duplicate: Generating a broken or snipped axis in ListPlot I am interested in removing a part of my plot, after searching around I could not find any questions concerning this ...
5
votes
3answers
696 views

ContourPlot - plot contour lines for minimum of list of functions == 2nd minimum of list of functions

I have a list of (ten or so) functions of two variables (x and y, say). I would like to plot the boundaries on the x y plane where two functions have the same value - but only the two functions in the ...
5
votes
2answers
411 views

Rectangle wave OK in calculations, wrong in Plot

I have a Piecewise function consisting of two rectangle waves with different duty cycles: ...
13
votes
2answers
4k views

Plotting complex Sine

I've got another plotting problem. I want to plot Sin[z] where z is complex. So, I've tried the following: ...
13
votes
4answers
713 views

Adding Lines to Sparklines (plots w/o frames, axes, etc.)

I have been working with Sparklines, thanks to some code found here. Here is what I am using: ...
2
votes
1answer
488 views

PlotRange problems

I have a Delay Differential Equation of the form: ...
3
votes
2answers
1k views

Plotting best-response functions

I'm a newbie in Mathematica. I'm trying to solve for two functions (best-response functions in a simple game), and then to plot the functions on the same graph. One function is p1 = resp1(p2) and the ...
2
votes
3answers
413 views

Force VectorPlot3D to show One arrow

I am plotting a curl, and I only want VectorPlot3D to show one arrow, I have tried adjusting VectorPoints-> 1, but the plot show's no arrows at all. Is 2 the minimum VectorPoints I can have? If I ...
5
votes
2answers
413 views

Variable Boundaries on ParametricPlot3D

Is there any way to plot correctly using the ParametricPlot3D command with one of variable's boundaries defined in function of the other ? In the example given ...
5
votes
2answers
489 views

Sharp ListDensityPlot

I have some quantity varying with time (horizontal axis of the plot): it first oscillates then it has a jump (larger than the amplitude of the oscillations), then it continues oscillating. I have that ...
1
vote
4answers
866 views

How to find pixel position in a graph , given two points?

I have a graph where on my Y axis , I have price and on X axis I have period/time. My range on Y axis is from 10 (lower limit) to 200 (upper limit), so to draw the point on graph I need the Y ...
9
votes
2answers
4k views

Two x-axis with different units connected by function using CustomTicks

I am trying to make a plot of some photoluminescence data, where wavelength is on the x-axis, and intensity is on the y-axis. Also, I would like to have the graph boxed, with the upper x-axis having ...
6
votes
1answer
923 views

CustomTicks and small ranges

UPDATE While the self-posted answer below (TickLabelStyle->TraditionalForm) works for most things, it also has the following effect: Integers are given periods ...
5
votes
5answers
1k views

ImagePadding or other means of getting whitespace when the PlotLabel is a Column or Grid

I have been having problems with exported plots cutting off a pixel or two of the text in the title of my plots. Let's assume we have some data (AR(1) noise with a high autoregressive parameter ...
4
votes
3answers
368 views

Exporting a rasterized Row of Graphics

I'm running some code based on @R.M.'s answer to this question to create a couple plots side by side. I want to export the plots rasterized to a png. However, when I ...
2
votes
1answer
557 views

Manipulating an arbitrary-precision ContourPlot

I have a function, say minimizeme[ω_][β_][ϵ_] = ϵ^2 ω-Log[2 (Cosh[2 β]+Cosh[2 β ϵ])]/(2 β); I want to make a high-precision dynamic ...
9
votes
3answers
1k views

Is there an easy way to put time ticks on a parametric plot?

I have a parametric plot showing a path of an object in x and y (position), where each is a function of t (time), on which I would like to put a time tick, every second let's say. This would be to ...
14
votes
2answers
6k views

How do I make framed plots the same size?

Suppose that I have two plots, plot1 and plot2. The plots have different ranges and different axes. Here is a fictitious ...
8
votes
3answers
1k views

Proper way to handle free variables in manipulate/plot?

It took me a while today to figure out that Manipulate (used with Plot) requires that the variable I'm manipulating be an actual ...
7
votes
3answers
1k views

How to rotate TickMarks in DateListPlot?

Is there a way to rotate TickMarks in DateListPlot to avoid overlap, eg: Part of the code used to generate this is: ...
3
votes
2answers
2k views

How can I italicize FrameLabel directives?

Suppose that I use Frame -> True in Plot. Then I can use ...
4
votes
5answers
3k views

How to plot Fit functions?

If I do something like this f[x_]:=x^2 Plot[f[x],{x,1,10}] Mathematica plots the function $f(x)=x^2$, as expected. However, ...
4
votes
1answer
370 views

RevolutionPlot3D: axis of revolution that doesn't pass through the origin

This is a follow up question to RevolutionPlot3D: but NOT revolving about the z axis so please check that for the context. It seems that RevolutionAxis requires ...
3
votes
1answer
355 views

Rough edges plotting a surface

I'm trying to use SphericalPlot3D to create some images of a surface but I get some rough edges on the surface around the boundary. However, after rotating the ...
13
votes
1answer
376 views