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

learn more… | top users | synonyms (5)

10
votes
1answer
3k views

Plot electric potential and field

I am trying to plot an electric pottentional of a dielectric cylinder along with it's field. The pottentional is a piecewise function ...
0
votes
1answer
130 views

How to get an Excel-like surface plot with ListContourPlot3D

I'm trying to create an Excel like surface plot from an import of data from an Excel workbook. I get the data without issue. It is a set of percentages in bin ranges over a series of dates. I'd ...
1
vote
1answer
112 views

Selecting from Manipulate for ParametricPlot3D

, Referring to yesterday's "Switching parameter lines on/off in a 3D parametric plot" (Switching parameter lines on/off in a 3D parametric plot) From reply by Bob Hanlon for example, can we pick up ...
1
vote
0answers
58 views

How could I make visible the convex hull of 3 point inside this region?

Small version of the question How can I control the color and the Thickness of this graph?? ...
1
vote
1answer
74 views

ListLinePlot of data imported from an Excel file [duplicate]

This is a continuation of another very similar question about how to plot structured data using ListLinePlot. Here is a sample data imported from an Excel file: ...
2
votes
1answer
127 views

(Very) ill-behaved Piecewise Plot

I am interested in defining a function (with arguments: a symbol for a variable and a list of 6 points) that represents a quadratic interpolating spline of the points. Here is my attempt ...
3
votes
1answer
67 views

Controlling the plot range of a PairedBarChart

I would like to adjust the plot range of a PairedBarChart along the 'bar' direction. However, ...
3
votes
1answer
132 views

Switching parameter lines on/off in a 3D parametric plot

In a classroom demonstration for ParametricPlot3D [{f[u, v], g[u, v], h[u, v]}, {u, ... }, {v, ... }] I want to show u lines only without v, v lines only ...
11
votes
5answers
786 views

Plot list of million points

I am working on large datasets of size $10\times 10^6$ and would like to visualize these in Mathematica, but they take lot of time to plot. How can I speed it up? I also want to save the plots as ...
2
votes
1answer
112 views

X-axis offset for LogLinearPlot

I want to set a zero-offset not only for the y-axis like i did with PlotRangepadding, but also for the x-axis. That means i dont want the white offset left of 1E-4 and right of 1E-1, and the ...
2
votes
2answers
97 views

StreamColorFunction ignored when setting to the RGB color

Recently I needed to color streamlines with exact color (e.g. RGBColor[0.1,0.478,0.5]). The help (http://reference.wolfram.com/language/ref/StreamColorFunction.html) suggests, that this can be ...
5
votes
1answer
140 views

Is there a way to make an interactive plot so one can pan and zoom?

My googling efforts returned nothing so I thought I'd ask here. I often make a ListPlot[] with a huge array, and sometimes it has smaller features that I'd like to take a closer look at, but aren't ...
10
votes
3answers
290 views

Excluding a Region in ParametricPlot3D

Suppose I have a torus and a closed path on said torus: ...
3
votes
1answer
123 views

Comparing data sets with fade transitions (Code speed-up)

I am using the utility below for data comparison. However, with my real (more complex) charts the processing is quite slow, so setting the Pause time under ...
8
votes
1answer
663 views

Exporting plots with Cyrillic text elements to pdf

I'm trying to export a plot with some added notes which happen to be in Russian. Using Mathematica 8.04 and WinXP I evaluate ...
4
votes
1answer
254 views

Plots in version 10.0 look washed out compared to previous versions

Recently installed the new version but I can't get the graphics to look the way I want them to. If I run this code Plot[x^2, {x, -5, 5}, PlotStyle -> Thick] ...
2
votes
2answers
148 views

How to get a multiple line plot from a list of lists

Following this data input {{{2,4,6,8,9},{342432,435345,564564,56756,9945},{23,356,565,304,564},{3,67,76,44,7}}} The array is the data of three lines. The first ...
4
votes
1answer
170 views

How to plot the result of this singular integral?

Please I open a new post here after this one : http://mathematica.stackexchange.com/a/59203/10158 Now I want to plot the function $f(a,b)$ as a function of $b$ for different values of $a$ : $a=0.5$ , ...
0
votes
0answers
135 views

Mathematica not responding

I am working in the field of applied physics. Some body suggested me to use Mathematica for plotting graphs and programming. After going through some tutorials, I have written the following code but ...
-1
votes
1answer
135 views

Differential Equations: Solving a second order ODE with DSolve

I have the following equation h''[η] + (2 a'/a) h'[η] + (k)^2 h[η] == 0 2 a'/a = 1.3551 with boundary conditions ...
5
votes
1answer
88 views

How to obtain sheared text label effects?

How to make the text labels of 3D plots look always like coplanar with the specific axes planes no matter how the viewpoint/view angle changes? Here is an example of such effect:
1
vote
1answer
115 views

DateListPlot - ToolTip

I would like to plot some data in time and am trying to format it so that tooltips on mouse over gives the date and a value. Something of the form ...
-1
votes
1answer
77 views

Plotting a several variable complex valued function

Consider A function $f:\mathbf{C}^2\rightarrow \mathbf{C}$ defined as $$f_{\alpha, \beta}(z,w)=\frac{\alpha}{z}+\frac{\beta}{w}$$ where $\alpha$ and $\beta$ both are complex number. I want to plot ...
0
votes
1answer
73 views

Multiple ListLogLogPlot from two data sets

I am trying to show the full plots from two set of data on the graph, but as can be seen the lower limit of one plot is chopped off. How do you get full view of both plots, with x minimum placed at ...
3
votes
2answers
374 views

Most convenient way to set legend marker size?

If I add a legend using Legended[..., SwatchLegend[..., ...]] then I can explicitly set the legend marker size using the ...
2
votes
1answer
142 views

ContourPlot is slow and unwieldy and generates a large-data graphic [closed]

I'm constructing a single contour showing the points in a plane that satisfy a function. The general form is ContourPlot[f[x, y] == 0, {x, 0, .5}, {y, 0.2, .5}] ...
3
votes
1answer
233 views

Filling the area between two curves, only where and if the second lies above the first one [duplicate]

I would like to make a filling of a plot between two curved dynamically.I have two lines depending upon parameters. They may cross one another, and may not in different domains of the parametric ...
1
vote
0answers
77 views

Plot sphere not centered at the origin? [closed]

I can plot a sphere of the form x^2 + y^2 + z^2 = ...., but when I try: RegionPlot3D[(x - 1)^2 + (y - 2)^2 + (z - 3)^2 = 14, {x, -1, 1}, {y, -1, 1}, {z, -1, 1}] ...
2
votes
2answers
348 views

Find roots of a function involving Bessel functions

I'm trying to find the roots of a function involving Bessel functions. Here is my code ...
9
votes
2answers
338 views

Mathematica and gaps in continuous plot

I have a bit of trouble with Mathematica and it's plotting stuff. I tried to plot Jacobi amplitude function: JacobiAmplitude[Sqrt[0.1]*x, 10], {x, 0, 50}] but ...
1
vote
0answers
142 views

Double helices inside an ellipsoidal cavity

This question may be related to a previous query at Plotting a contour on a torus My question is how do you enclose double helix structures (see demonstrations.wolfram.com/DoubleHelix ) inside an ...
2
votes
1answer
176 views

Find solutions of equation involving Bessel functions

I'm new in Mathematica and I'm trying to find the solutions of this equation involving Bessel functions $$\eta \frac{ J_{n+1}(\eta a)}{J_n(\eta a)}+\chi \frac{ I_{n+1}(\chi a)}{I_n(\chi a)}=0$$ ...
6
votes
1answer
260 views

Using Manipulate to dynamically correct the baseline of a signal

i have data with a baseline and will correct it with a polynomial fit using Manipulate to see immediatly the changes in the resulting spectrum. It works so far, but ...
2
votes
2answers
104 views

Componentwise Addition of TemporalData

I'm a little confused with the TemporalData structure in Mathematica, in the sense that it doesn't seem to behave like a list. What I'd like to do is plot the sum ...
1
vote
1answer
290 views

Changing the x-axis data range

I have a series of data and Ive ploted them by mathematica.how can I change the x-axis scale?for example instead of "x" being between 0-300, I want to plot my data between 0-2 scale. this is my code: ...
10
votes
2answers
275 views

How to round tick line ends in the plots

I would like to have rounded ticks in my Mathematica plots. They look much better for thick frames ...
7
votes
2answers
248 views

Get name of hidden inbuilt functions (like Ticks drawing)

how do I get the name and definition of a builtin Mathematica functions? For instance, I would like to see how default Tick plotting function is implemented. However, it is not clear where it is and ...
4
votes
2answers
210 views

Adding a thick curve to a regionplot

Suppose we have the following simple RegionPlot: ...
4
votes
3answers
123 views

Use TraditionalForm (or something similar) in AxesLabel/PlotLegends

I use the following command to export plots to PDF which I then use in latex: ...
1
vote
1answer
137 views

Eliminate z from two equations in x, y, z and plot y as a function of x [closed]

I have this equation to begin with: $$1 - 3 x y = 5 z - 2 x $$ I want to solve this equation for $z(x,y)$, then plug $z(x,y)$ I plug $z$ inside a second equation: $$ y = 7 x z - \frac{z}{x} $$ ...
2
votes
3answers
120 views

Why do plot functions fail to plot expressions containing piecewise functions? [closed]

Why do both of the following plots appear empty in Mathematica? I tried evaluating the functions $\chi_+$ and $\chi_-$ at various points and it seems valid, so why does Mathematica not plot them? ...
8
votes
2answers
215 views

Wrong plotmarkers in the legend generated by ListLinePlot

ListLinePlot generates the same legend for different lists of data when PlotMarkers and ...
2
votes
1answer
72 views

Plotting a piecewise function with strange subdomains

I have a function, which analityc expression is $C=2*max[b-c,0]$(you can see the expressions of b and c down). Then I have to considerer $q_\pm=\frac{(1\pm \sqrt{ (1-C^2)})}{2}$ and then to plot ...
2
votes
2answers
780 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
136 views

Manipulate Parametric Plot [closed]

Is it possible to plot the values of x and y in Mathematica? ...
1
vote
2answers
76 views

Problem with FrameLabel in the ErrorListPlot function

I've been trying to print information on the axes of a graphic. I'm doing that by the option FrameLabel in the ErrorListPlot ...
1
vote
1answer
152 views

3D Contour Plot - parts with gradients less and more than zero

I'm trying to plot sections of the 3D Contours, with gradient less than zero, and more than zero and equal to zero. It manages to solve for the derivative, but when I apply the conditions ...
4
votes
3answers
150 views

Dynamic ListLinePlot

I have a list of lists looking like this: {{{x1, y1}, {x2, y2}}, {x1, y1},...}}. Furthermore I have defined a legend, which is taken from the filenames. Now I want ...
7
votes
3answers
231 views

Timeline plotting: horizontal bars of time intervals

This text file logs the time that a process (identified by a number) changes state ("Brown", "Blue" etc.") ...