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

learn more… | top users | synonyms (4)

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
563 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
885 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
511 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
662 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
379 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
706 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
590 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
227 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 ...
2
votes
1answer
140 views

Editable keyframe curves

Any suggestions for a good approach to implementing a zoomable 'keyframe' based curve editor? Essentially, something akin to the functionality of the graph editor in animation packages such as Maya. ...
1
vote
1answer
611 views

Different Plot Filling for multiple curves

Warning: possibly dumb question :-( I have two functions I want to plot with the Filling option, like: ...
1
vote
2answers
174 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 ...
4
votes
1answer
153 views

Simulating CoordinatesToolOptions (for CDF) & the Inflexibility of MousePosition

I got two lists of equal lengths, which I show in two ListPlots, arranged in a Column or ...
11
votes
2answers
997 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
votes
1answer
249 views

Speed Up SphericalPlot3D

I was wondering if I could speed up SphericalPlot3D? I tried editing PlotPoints, and ...
3
votes
2answers
715 views

Map a 3D plot into plane

I have a 3D plot like: ...
10
votes
3answers
752 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 ...
1
vote
1answer
225 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 ...
4
votes
3answers
638 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 ...
7
votes
3answers
3k views

Plotting contours plot for f(x,y,z)=c

I have the following question: I have a file that has structure: x1 y1 z1 f1 x2 y2 z2 f2 ... xn yn zn fn I can easily visualize it with Mathematica using ...
5
votes
2answers
296 views

Rectangle wave OK in calculations, wrong in Plot

I have a Piecewise function consisting of two rectangle waves with different duty cycles: ...
4
votes
3answers
524 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 ...
23
votes
4answers
652 views

How can the opacity of a dense data set be automatically chosen?

The problem In a dense data set plotted with opaque points, data points can pile on top of each other. This can cause serious problems with the interpretation of the plots. I'll use as an example a ...
11
votes
3answers
3k views

Custom contour labels in ContourPlot

Suppose I wanted to draw the zero contour for the function $$d^2-g.$$ I could use the following code: ...
7
votes
2answers
772 views

Controlling the 2D $x–y$ aspect ratio of a 3D plot

I have some data representing a nested list, each element being composed of 3 real numbers like ...
6
votes
3answers
574 views

Adapt ColorFunction in Array Plot

The problem I'm facing is how to adapt ColorFunction so that it ranges from green (low values) to red (high values): ...
5
votes
2answers
704 views
2
votes
2answers
1k views

Animation of Differential Equations from NDSolve with ParametricPlot3D and Evaluate

I have a system of differential equations (referred to as "s") and use NDSolve to obtain the solution. I substitute the interpolated functions for the original ...
13
votes
5answers
1k views

How to use filling in ContourPlot

I want to fill region between different contours, e.g. ContourPlot[{c1 = f1, c2 = f2}, ...] a la the filling options for Plot ...
12
votes
4answers
601 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: ...
0
votes
1answer
299 views

Plotting Recurrence Relationship [closed]

I'm having trouble plotting the result of FindDiferrenceRoot[], for following where a->(2/3) and n from 0 to 20: ...
2
votes
1answer
372 views

PlotRange problems

I have a Delay Differential Equation of the form: ...
2
votes
2answers
670 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
293 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 ...
6
votes
3answers
2k views

Finding the linear regression of data and plotting it

This is for a physics report that I have to hand in. I have a list of two-dimensional data points that approximately form a linear line. I want to: calculate the best linear fit. put both data ...
12
votes
4answers
7k views

How can I plot the direction field for a differential equation?

I'd like to plot the graph of the direction field for a differential equation, to get a feel for it. I'm a novice, right now, when it comes to plotting in Mathematica, so I'm hoping that someone can ...
5
votes
2answers
2k views

Creating Optimal “Smoothed” Contour-Type Plots (X,Y,Z) Using Mathematica 8.04

Update: data here Here is a contour plot produced in the SAS program: In this plot, variable 23405 forms the X axis, variable 20201 forms the Y axis, and outcome variable 50502 forms a pseudo Z ...
9
votes
2answers
2k 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 ...
5
votes
2answers
343 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 ...
4
votes
3answers
252 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 ...
1
vote
4answers
608 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 ...
8
votes
3answers
546 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 ...
2
votes
1answer
329 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 ...
5
votes
2answers
378 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 ...
5
votes
3answers
3k views

Mathematica function intersection points with 3D grid

I need to produce a 3-dimensional equispaced grid over a given function in a way, that I can calculate intersection points of the function with the grids edges. So my first question is how to produce ...
11
votes
2answers
3k 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 ...