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

learn more… | top users | synonyms (4)

4
votes
2answers
216 views

Short form of Graphics

Sometimes I want to investigate the structure of Graphics/Graphics3D which is produced by ...
2
votes
2answers
71 views

Some major and minor ticks are not shown in Plotting functions

I am using Mathematica 10.0.1 on Windows 64-bit machine. I have two 1D lists as follows. ...
4
votes
1answer
108 views

Filling a curve towards toward the top of the plot

I have a curve. If I want to color fill or shade, not towards axis but upward form the curve, what command can I use?
2
votes
1answer
105 views

Continuous 3D Arg Plot

I have a problem with jumping phase plots using the Arg function in mathematica. I have looked at the other questions already asked here (e.g., continuous phase/Arg ...
1
vote
0answers
55 views

Generating 2D models from a 3D model

I have a model of cube with randomly distributed spheres included there. ...
7
votes
3answers
238 views

How to plot a series using different colors depending on the y-value

I have a sequence of numbers ${x_1,x_2,\ldots,x_n}$. I would like to plot the sequence using ListLinePlot but use a different color depending on if the values $x_i$ are within $a_i<x_i<b_i$. ...
8
votes
2answers
144 views

Vertical (mis-)aligning of plotmarkers and legend text in V10 PlotLegends

Consider this example, taken from the docs and modified for a larger font size using Style (V10.0): ...
2
votes
2answers
64 views

Manipulate a parameter within the PlotLabel

Very similar to Parameters in plot titles in which I want to call a parameter from an array using PlotLabel in my plot using ...
7
votes
1answer
268 views

Kernel crashes when plotting $z=\sqrt{(x^2 + y^2)^0}$

Bug introduced in 7.0.1 or earlier and fixed in 10.0.1 I'm plotting a 3d-function, which makes Mathematica9 (at windows 7) crash all the time. Is it only for me or for somebody else as well: ...
0
votes
0answers
14 views

Is it possible to plot a List of functions with different colors in Manipulate (or with substitutions)? [duplicate]

I'm trying to use Manipulate[Plot[... to do two things at once: Plot the multiple forms a function can take depending on the chosen value of a root inside the function, and 2. show how the functions' ...
3
votes
1answer
85 views

Finding root and plot it on the graph [closed]

Trying to Plot a function and find it's root and mark it with a red dot. ...
0
votes
2answers
78 views

Replace $z$ with interpolated function and plotting

I start off with this equation $z(x,y) = sin(xy)$. I create an interpolation from $0 < x < 5$ and $0 < y < 5$. I then use this interpolation on a simple function $w(x,y) = x + y + z(x,y)$ ...
2
votes
2answers
121 views

How to specify units for ImageSize Option? [duplicate]

I'm trying out making a CDF and I want it to print within the margins of Letter paper. There is an ImageSize option that I would like to set; some plots will be in ...
2
votes
1answer
60 views

Changing the length of the vectors in vectorplot [duplicate]

I have the following code, and I've tried almost everything I can think of, even VectorColorFunction to describe magnitude. I am trying to make the length of the vectors proportional to r^{-2}, and ...
4
votes
1answer
66 views

How to remove selected wire frames from bounding box in 3D plots?

In 3D plots one can eventually hide the whole bounding box by the use of option Boxed -> False. How to remove only a selected part of the wire frame that ...
4
votes
1answer
90 views

Why I can not get the plot when I use NDSolve`ProcessSolutions?

Why I can not get the plot when I use NDSolve`ProcessSolutions? Anyone can give me a clue. Thanks a lot! ...
0
votes
0answers
130 views

Defining a Gaussian Distribution Fit to data [on hold]

I am given a set of data and told ahead of time that the data will need to be fitted to a Gaussian Distribution. I know that Mathematica has preset functions for linear, quadratic, and cubic fits, but ...
8
votes
2answers
212 views

Attaching a legend to BallAndStick picture

I am looking for a way to add a legend showing the identity of various atoms (with different colours) to this picture. Any Clues? ...
0
votes
1answer
96 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
0answers
48 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
78 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 ...
8
votes
3answers
231 views
1
vote
1answer
47 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
108 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
95 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 ...
7
votes
3answers
357 views

How do I plot the images of oriented curves under complex transformation?

I'm working on a complex transformation sketch that I'd like to create via mathematica. I'm working with the function $$w=z^2\tag{0},$$ where its real and imaginary parts are $u=x^2-y^2$ and $v=2xy$, ...
1
vote
1answer
48 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
70 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 ...
9
votes
3answers
236 views

Excluding a Region in ParametricPlot3D

Suppose I have a torus and a closed path on said torus: ...
5
votes
1answer
115 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 ...
3
votes
1answer
219 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] ...
7
votes
2answers
117 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
136 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
70 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
93 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
200 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
49 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
64 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
80 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
179 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
68 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
102 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
254 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
89 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
115 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
97 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
50 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: ...