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
215 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] ...
6
votes
2answers
108 views

Changing BarLegend border style

I want all the lines in my plot to be a consistent style, let's say thick and black for the purpose of this question. ...
3
votes
1answer
134 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
60 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
87 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 ...
2
votes
2answers
190 views

How do I feed data points into an equation to solve NUMERICALLY?

I start with this equation and solve it numerically for $z(x,y)$ in the range $1 < x < 5$ and $1 < y < 5$: $$ \frac{3}{xyz} - 2x - 3y - 5z = 0 $$ Then using the data points of $z$ above, ...
0
votes
1answer
48 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
56 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 ...
5
votes
1answer
78 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:
0
votes
1answer
59 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
162 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 ...
3
votes
1answer
63 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 ...
4
votes
2answers
105 views

Filling the empty space in RevolutionPlot3D

I'm wanting plot the solid of revolution from the area between two functions such as: $1\leq x \leq e$ and $1 \leq y \leq 2 + ln(x)$, doing something like: ...
1
vote
0answers
37 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
86 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
246 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 ...
2
votes
1answer
86 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}] ...
1
vote
0answers
112 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
91 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$$ ...
1
vote
1answer
45 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: ...
7
votes
2answers
197 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 ...
10
votes
2answers
218 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 ...
5
votes
1answer
120 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
3answers
93 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? ...
7
votes
3answers
279 views

Problems with PlotStyle in mathematica 10

Bug introduced in 9.0 and fixed in 10.0.1 The simplest way to ask is to post the code of what I'm doing: ...
4
votes
3answers
96 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
107 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
1answer
66 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 ...
0
votes
1answer
71 views

Manipulate Parametric Plot [closed]

Is it possible to plot the values of x and y in Mathematica? ...
1
vote
2answers
57 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 ...
3
votes
3answers
116 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 ...
0
votes
1answer
63 views

I can't Plot the equation -(π/4) + x - 1/2 Sin[2 x] == 0 [closed]

I'm starting with Mathematica and I can't solve numerically the equation -(π/4) + x - 1/2 Sin[2*x] == 0 using NSolve as well ...
1
vote
1answer
118 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 ...
8
votes
2answers
190 views

Why PlotLegends doesn't give the legends ?

I am using Mathematica 9. The problem I have is with plotlengends, in particular, ...
8
votes
1answer
148 views

Plot one set of “x” with at least three sets of “y” in different scale

I'm sorry if the question is too obvious, but I haven't been able to find a straight answer for Mathematica. I have 1 set of "x" with at least 3 sets of "y" in different scales. I need to plot them ...
4
votes
3answers
148 views

I need to remove a line from a ParametricPlot

What happens is that when I make this ParametricPlot: ...
2
votes
1answer
84 views

Plotting a region with thin cusps in high-definition via RegionPlot

I want a high-definition picture the real solutions $(s_1,s_2,s_3)$ of the system of inequalities $3 s_1^2 < (s_2 - s_3)^2 + 2 s_1(s_2 + s_3)\\ 3 s_2^2 < (s_1 - s_3)^2 + 2 s_2(s_1 + s_3)\\ 3 ...
1
vote
1answer
159 views

Mapping points on the unit circle

I have a set of points P that are evenly spaced on a square grid of length 1... I would like to map these points to the circle of radius 1 as nicely as possible, while preserving relative positions ...
3
votes
2answers
65 views

Adding Text to a ListLogLinearPlot [duplicate]

I have a problem with adding text to a ListLogLinearPlot plot. The text just doesn't show up anywhere. If I use the normal ListPlot, the text coordinates go perfectly wherever I want them to: ...
0
votes
0answers
54 views

Is there a reason why some specific arrangement of scattered grid points would yield bad RBF (Obtuse package) interpolation results?

I have an arrangement of grid points given by the figure below (the datagrid data is posted below at the end of the post): They correspond to electrode positions of an EEG signal. I am ...
5
votes
4answers
229 views

Speed up Schwarz-Christoffel mapping

I would like to ask your advice how to speed up Contour and Parametric plots in the following example. Let as start by defining a function ...
5
votes
2answers
320 views

A topoplot function for Mathematica

Matlab's EEGlab toolbox has a topoplot function: http://sccn.ucsd.edu/eeglab/ A typical topographical plot of an EEG signal is given below: How can I reproduce this in Mathematica. I know that ...
3
votes
0answers
49 views

Bug when using Plot3D over an ImplicitRegion?

Evaluating this expression seems to cause Mathematica to beep and quit the kernel: ...
2
votes
2answers
51 views

InterplationOrder, ListPlot3D and using AbsoluteOption to find value used. Slow using InterpolationOrder

What lead to this, is when I noticed that ListPlot3D was much slower when adding a specific InterpolationOrder->n vs. not and ...
1
vote
1answer
65 views

Stochastic Approximation and Simulation using Running Median

I have a function $$F(X_{t+1},Y_{t}^{med})= \alpha X_{t+1} + (1-\alpha) Y_{t}^{med},$$ where $$Y_{t}^{med} = Median(Y_1, Y_2,... Y_t).$$ Moreover, $Y_1 = X_1$ and $Y_t = F(X_{t},Y_{t-1}^{med})$ ...
2
votes
3answers
141 views

Plot a one-dimensional list of numbers as a column/row of labeled colored squares

I have a list of numbers and a matching list of labels. I want to plot a column of colored squares, with the color of each square matching (in some color scale) the value of the corresponding number. ...
5
votes
1answer
84 views

ListPolarPlot: 0 Degree at vertical axis

Is it possible to have ListPolarPlot start plotting at the vertical axis? By Default ListPolarPlot gives this result: ...
3
votes
1answer
49 views

Filling dependence on order of points in ListPlot

ListPlot[{{{1, 0}, {0, 0.5}}, {{1, 1}, {0, 1}}}, Filling -> {1 -> {2}}, FillingStyle -> LightGray, Joined -> True, Frame -> True] Results in no ...
1
vote
2answers
97 views

How to do a region plot with many functions [duplicate]

Hello i am trying to compare many function, i want to see witch one as the lowest value depending on 2 variables. My solution so far is something like this: I have 7 function: P1 P2 P3 P4 P5 P6 P7, ...
3
votes
5answers
213 views

Ordering the Boundary points of a Polygon

I feel like this should be simple, but I keep running into walls. Say someone gives you the coordinates of the vertices of a pentagon and the center point of the hexagon. Is there any way to get an ...