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

learn more… | top users | synonyms (4)

0
votes
1answer
114 views

Setting plot size within vector; dynamic slider (two part question)

I have a question about the size of a plot in mathematica. I'm working on some differential equations (a simplified model of heat transfer in a building). I've programmed it so that you can set ...
0
votes
0answers
49 views

3D Point in Epilog of Plot3D [duplicate]

When plotting in 2D you can add a Point to the plot using Epilog: ...
0
votes
2answers
192 views

Histogram plot with descriptive statistics on the plot

I am wondering in Mathematica Can we generate histogram plot with descriptive statistics, such as mean, median, and skewness, attached to the plot ? For example, we may place all the statistics to ...
3
votes
1answer
121 views

How can I change label colors in a colored chart?

I am trying to make a chart with labels, but I would like for the labels on the chart to be white for purposes of visibility. I am aware of the ...
1
vote
1answer
128 views

Parallel numerically integrated function can't be plotted [closed]

I've been working on a problem where I need to integrate a function numerically. The function is quite complex and it takes almost an hour for Mathematica to make a plot. To speed the process up I ...
0
votes
1answer
96 views

How to plot the output of a calculation with a changing variable

The following code successfully manages to plot the cross-section, and give me the maximum depth of a weld pool, for a given set of parameters. What I would ideally like to be able to do is to plot a ...
7
votes
4answers
472 views

Controlling ListPlot Line Colors

I am using ListPlot to display from 5 to 12 lines of busy data. The individual time series in my data are not easy to distinguish visually, as may be evident below, ...
1
vote
1answer
325 views

Plot periodic function from Dirac delta function [duplicate]

Sorry for my bad english. I need to plot periodic function from dirac delta: δT(t)=∑δ(t–n*T), where T - is a constant, and n=-20..20 And after them, plot new function fd=f(t)*δT(t) - discrete signal ...
6
votes
1answer
227 views
0
votes
1answer
86 views

Extracting polygon color parameter from another variable [closed]

I'm a beginner with Mathematica, so this may seem like a simple question, though it's got me totally stumped. I'm trying to display several polygons and have the color of each polygon depend on the ...
6
votes
1answer
256 views

ListContourPlot3D doesn't use all points

Edited thanks to @Kuba: In the following example, ListContourPlot3D accepts an array of points spaced at intervals 0.1 apart throughout the volume, but seems to choose an arbitrary number of points ...
1
vote
1answer
371 views

How do I overlay multiple graphics on one plot? [duplicate]

I am plotting n spectrum using: ...
1
vote
1answer
455 views

Derivative of Interpolating Function [closed]

Let's assume that Sol is the solution of NDSolve, given as an InterpolatingFunction f InterpolatingFunction[{{0.,10.},{0.,100.}},<>] If I want to plot it, ...
0
votes
0answers
22 views

Question about a ParametricPlot with a shading grey family of lines and/or different sizes [duplicate]

So, I have this function of the polar angle $\theta$, with a varying parameter $t$: {Cos[\[Theta]] (1 + Sin[t]), Sin[\[Theta]]} and I want to draw it in a ...
7
votes
3answers
203 views

Formatting an equation on a plot

I am trying to label a plot with an equation. The problem is that Mathematica formats things almost well but not exactly. The parenthesis are of the wrong size, and the powers are not high enough. ...
22
votes
4answers
714 views

Implementing a Beeswarm plot in Mathematica

I am looking for a Beeswarm plot implementation in Mathematica. Consider the following data: ...
2
votes
3answers
132 views

Plotting lists, exact color values

I read some descriptions of similar problems but I cannot make them work in my example, I don't know why. I have list of 3 dim values to plot: x, ...
3
votes
2answers
164 views

Change ticks from number to hours

I have an unidimensional array (let's call it list)ranging from 0 to 86400, each one representing a second of a day (a day has 86400 secs). For example, ...
-1
votes
1answer
115 views

Plotting the results of a system of equations

I believe this is a question of more list manipulation than plotting, but I hope you could help me. I solve numerically a system of equations of 3 variables, take only real solutions where one of the ...
3
votes
2answers
89 views

PlotRangePadding that's a fixed fraction of a plot's longest dimension

I am trying to produce plots of a region which can alternately become very long or very tall, and I would like to have some padding around it which is uniformly thick in both the horizontal and ...
1
vote
1answer
201 views

Error bar plot - no bars but rather point size determined by errors

Looking for a way to create an ErrorListPlot (x,y,error) with the radius of the PlotMarker ...
0
votes
1answer
137 views

Custom BoxWhisker Plot

I’d like to figure out how I can show my entire dataset overlaid on a box whisker plot. ...
1
vote
1answer
141 views

invert system of two parametric ODEs and plot results of do-loop

I can solve this system of parametric ODE (u is the parameter,while g,e and ...
2
votes
2answers
686 views

Line of best fit on LogLog plot

I have a LogLog plot, and i'm unsure about how to fit a line to it. The data represents a calibration curve. ...
4
votes
1answer
209 views

Changing Plot order for 3D printing

Alright, I got a my first 3D print done of a pseudosphere using parametric plot and a deflated sphere using a contour plot, but when I try ...
1
vote
1answer
142 views

How to change the format of FrameTicks

Here is a plot with the default frame ticks S1 = Plot[Sin[x], {x, -7, 7}, Frame -> True, Axes -> False] Now, if I define myself the range as well as the ...
1
vote
2answers
351 views

Multiple curves plotted with different colours [duplicate]

I am trying to use ColorFunction for 2 functions on the same plot. I only want the cubic equation to change colour. ...
8
votes
1answer
297 views

How does PlotLegends actually work with ListPlot3D?

I'm sensing this might be a rookie mistake but normally I roll my own legends but decided to try the built in legends for a ListPlot3D. ...
0
votes
0answers
152 views

How to plot an implicit equation with separate dispersion lines of Lamb waves

I'd like to plot (to try reproduce) dispersion curves of Lamb waves as in http://en.wikipedia.org/wiki/Lamb_waves But I can't to separate each lines. I was reduce the dispersion equations as X=ωd/Vs, ...
-1
votes
1answer
157 views

ListLinePlot problem

OK, so here I got the solution of a numerically-solved PDE. I wish to plot in a graph, for a given time, the point x where the solution reaches 1/2. So here's the relevant string of code: ...
3
votes
0answers
42 views

Tick labels above axis [duplicate]

Is there any way to place tick marks on the x-axis above the axis? Note that I am talking about marks on the axis, not on a frame (because my graph has no frame). To be more specific, here's the ...
1
vote
1answer
281 views

Problem With 3D Contour Plot

So I am very new to Mathematica and I'm using version 9. I need to plot a function $f(x,y)$ such that $f(x,y)$ is equal to $y^2$ when $x > y$ and equal to $10 \sin(x)$ when $x < y$. I want two ...
20
votes
1answer
315 views

Highlight Pie in PieChart

PieChart has the nice functionality of highlighting a single pie when you click on it. It is then sticking out a little. See the following example: ...
11
votes
5answers
587 views

Default Chart Color Doesn't Match

I have looked through other posts to find out what the default plot color is, but when I use it, the color doesn't seem to match. Can anyone explain why I'm seeing different output? The reason I ask ...
5
votes
1answer
628 views

Asymmetric X and Y error bars on ListLogPlot

The wonderful error bar log plots package ErrorBarLogPlots from V6 no longer positions labels correctly (since ...
1
vote
1answer
192 views

Horizontal axis tick marks

I have a question about adjusting the number of horizontal tick marks on a 2D plot. Example: f[x_] := 4*Sin[4*x] Plot[{f[x]}, {x, -10, 10}, Ticks -> {Table[Pi n, {n, -5, 5}]}] Gives the following ...
3
votes
1answer
316 views

ContourPlot or DensityPlot ColorFunction with x, y and z arguments

Is it possible to apply a color function to ContourPlot or DensityPlot that is function of x, y and z, and not simply of z? Example: ...
3
votes
1answer
106 views

Choosing the units for plotting

I´m new to using units in Mathematica. I have read other similar posts about this issue but I haven´t found an answer so far. My problem is simple: I want to plot a certain function with a certain ...
7
votes
2answers
218 views

listplot very large numbers

Suppose we have the following function: NN = 150; W[n1_] := NN!/(n1 ! (NN - n1!)) (1/2)^n1 (1/2)^(NN - n1) Then we can Plot or Listplot it: ...
0
votes
3answers
276 views

How to plot a function with two parameters determined by another parameter?

I have one small question. My code is like follows. ...
3
votes
0answers
59 views

How to change the position of numbers on plot [duplicate]

How to change the position of numbers in axes on plot? I want to see the numbers on the x-axis over it, not under it as it is now to have them clearly visible.
1
vote
0answers
171 views

Why won't Mathematica plot my function? [duplicate]

I'm using a theoretical answer found on the official Wolfram site as a reference to ensure my code isn't faulty (even though I'm fairly confident that my original code is half decent). ...
0
votes
0answers
80 views

How to increase range in Plot without exceeding maximum bounds?

Does there exist some way to increase the plot range of following plot from 10^7 to new value 10^16? It exceeds its maximum ...
5
votes
2answers
423 views

Filling between two spheres in SphericalPlot3D

Manipulate[ SphericalPlot3D[{1, 2 - n}, {θ, 0, Pi}, {ϕ, 0, 1.5 Pi}, Mesh -> None, PlotPoints -> 15, PlotRange -> {-2.2, 2.2}], {n, 0, 1}] I cant' ...
5
votes
3answers
1k views

Labeling points on a graph with their coordinates in parentheses

I need to create some graphs in Mathematica with a bunch of labels, such as axes labels, graph labels, etc. In particular, there must be some points that must be labeled with their coordinates. Thanks ...
2
votes
1answer
203 views

Making a rectangular label for RegionPlot

I have a plot that includes a Region Plot. I want to make a rectangle with the same shading as in the region plot to show as a legend. The dumb way I can think off ...
2
votes
3answers
141 views

Applying Labeled Option to Multiple Options

First post. Hope it's not ignorant. I am trying to label several data points so I can label them properly on a ListLinePlot. I know I can label plots if I am ...
-2
votes
2answers
92 views

Plot isn't outputting a plot [closed]

I am trying to plot the magnitude complex function (f) with respect to w. For some reason, Plot is just displaying a set of axes, with no points. Any Idea what's going on here? ...
2
votes
1answer
156 views

project from a n-dimensional space to 2-dim

let's say that I have a sphere in $N$-dimensions $$x_1^2+x_2^2+...+x_N^2=R$$ If I want to know the projection on the $x_1-x_2$ plane in this case I can figure out myself that is a circle, but how ...