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

learn more… | top users | synonyms (4)

1
vote
1answer
103 views

BubbleChart bubble scale depends on y position

I noticed that the scaling of bubbles in the BubbleChart function depends on the y position of a bubble. Compare these two examples. ...
1
vote
1answer
124 views

How can I show a rotated PDF plot superimposed on a ListPlot of the underlying data?

I have a set of 3 lifetime datasets in lists called values1, values2 and values3. values1 = {53377., 16542., 31418., 5629., 17654., 7365., 15797., 862., 76906., 10073.}; values2 = {74412., 15620., ...
1
vote
2answers
269 views

ListLinePlot x-axis units label

If I want to label the $x$-axis of a ListLinePlot , how do I do that? There are two types of label: a units label which would go to the right of the axis, and ...
2
votes
1answer
163 views

Combining images and plots in LevelScheme figures

I've found that the LevelSchemes package is extremely useful when combining several plots with precise control over where to place legends, making plots withing ...
4
votes
1answer
95 views

Variable widths on BoxWhiskerChart

BoxWhiskerChart automatically uses the same width for each of the boxes in a plot. I would like to force it to use a list of widths (with each width corresponding to a box). I'm working with time ...
0
votes
1answer
122 views

ListLinePlot “Cannot Take Positions” error with Fourier of WAV file

When I try to do a Fourier analysis of a WAV file with a sample rate of 22050 I get an error "Cannot take positions". What am doing wrong? ...
1
vote
2answers
169 views

Plotting in the “Manipulate” function - simple coding

Hello Mathematica community, my name is Preston! I have a real quick question that should be easy to answer. Alright, so for a research project that I'm involved it at my university, I need to ...
2
votes
1answer
105 views

LinearModelFit of WeatherData

I am trying to perform a linear regression on some weather data, but I can't seem to figure out how to perform the operation. What I have right now is this: ...
1
vote
2answers
168 views

Analyzing Betting (Keno) in Mathematica [closed]

Keno is a popular lottery game that is available with all of the larger casino softwares. The player is given a ticket with 70 numbers on it. He picks 1 to 11 numbers on the ticket. 20 winning numbers ...
3
votes
1answer
130 views

How to solve an equation with two variables in Mathematica

If I solved an example equation like |x|+|y|=1 numerically, I would to get a 90° rotated rectangle. If I was to plot the equation, it would result in an image like ...
1
vote
1answer
65 views

Increasing y-axis on plot as it appears it naturally truncates part of the plot [closed]

Changing the x-axis is fine and it will allow me to do so. When I want to change the y-axis (2D vertical), an error occurs. It appears as if the mathematica plot is missing some of the graph data. Is ...
1
vote
1answer
144 views

Projection of Density Plot [closed]

Say I have a density plot such as DensityPlot[Sin[x]*Sin[y],{x,-2,2},{y,-2,2}] Is there a way to see a projection of this plot. For example is there a way to see ...
0
votes
1answer
105 views

Revolving the area between two functions about an axis

I'm trying to graph the revolution of the area between two functions about an axis, but I'm new to Mathematica, and not sure how to proceed. My area is defined by ...
2
votes
1answer
225 views

Why does piecewise plot have a discontinuity when the function, first and second derivatives are equal?

There were some related questions to this one, but in this case we have the function value, the first derivative and the second derivative all equal (that was actually the problem I was solving). We ...
3
votes
1answer
165 views

Ugly plots when printing notebook to pdf

One image is worth one thousand words, so: Question: At what options should I be looking, so that what I see in my notebook is what I get in my printed pdf ? Here is the code I'm using: ...
2
votes
2answers
155 views

DensityPlot Increase Information

I am trying to make a density plot in Mathematica, however the distribution of the plot is not as visible as I would like. I plotted the same function in python and it contains a greater visible range ...
1
vote
2answers
246 views

Trying to graph trajectory function in Mathematica? Won't Graph?

The exercise is: define the trajectory function y(x) in Mathematica. Pick the initial speed (in meters per second) equal to 2 ...
0
votes
0answers
45 views

Plotting TransformedDistributions of a Poly-Aeppli distribution [duplicate]

I do not know how to plot a TransformedDistribution of the named Polya-Aeppli distribution and do not know if the transformation can be handled after reading: Just ...
0
votes
1answer
87 views

Why BarChart3D plot of Mathematica 9 is not working similar to Mathematica 7 version?

Mathematica 7 Needs["BarCharts`"] BarChart3D[{{1, 6, 8}, {2, 7, 1}, {3, 1, 4}}] While in Mathematica 9 it is not plotting in this manner. Please help me to ...
1
vote
0answers
27 views

Possible bug while plotting homographic function with stylled axes (?!) [duplicate]

Seems like a bug to me, don't have time to dig more now. WinXP V9.0.1.0 ...
0
votes
1answer
117 views

Filling only part of a plot [duplicate]

I have something plotted on [-6,6] but I would like to fill only the part from [-5,5] (to the axis). I'm looking through the documentation but I'm not terribly well-versed in Mathematica and can't ...
1
vote
2answers
87 views

ListPlot : range from $0$

I want to plot values of a table for example: table = {0.456, 0.7899, 1.3456, 9.8908} But I want to Plot points (x,y) like: ...
1
vote
3answers
185 views

How to animate 3-D figure using sequence of data [closed]

I have four points in 3-D, I want to join the points with a line. The points move with time. So I want to animate the jointed Point in three dimensions. I try to use ...
3
votes
2answers
93 views

Evaluate in Plot leads to function error

Please help - I'm really struggling to understand why this evaluates with errors. ...
1
vote
2answers
193 views

Conditional range in a parametric plot

I have a program that needs to be done like this: ParametricPlot[ equation, If[x < 1, {x, 0, t}, {x, t, 2}]] But Mathematica didn't seem to recognize the ...
1
vote
1answer
102 views

How would I get the best quality plot into a TeX editor which includes the legends?

I have currently used "Save Selection As" after highlighting the graph and legend and then saved it as a PNG file, but the quality isn't brilliant. I am using TeXworks on Windows 7. The "Copy As ...
0
votes
1answer
86 views

Export/Copy + Paste a plot from Mathematica Trial Version to TeX editor

I wish to get a view plots from Mathematica trial version into a TeX editor, but cannot seem to do it (unless I print the screen and crop the image which leads to bad quality). Is there a way in which ...
1
vote
2answers
164 views

How can I get an approximate contour plot from a 3D plot?

I have some larger square, Hermitian matrices, M, (dimension 20, say, much more than 4) with 2 independent variables, call them x and y. I can plot the eigenvalues as functions of x and y with: ...
0
votes
1answer
88 views

To put a plot inside of a plot [duplicate]

I'd like to put a figure of a 2D-plot into a larger 2D-plot (into some white-space), like in the example below: I don't precesely know how It's done, could anyone help me with this one? Is it with ...
2
votes
1answer
86 views

Inaccurate data range in ListPlot

I want to have axes x on my ListPlot as the range (1,1386), but when I run my code ...
0
votes
0answers
143 views

Trace of intersecting planes

I have a set of curved planes that intersect each other. I only want all the parts of all planes displayed that are above the intersecting traces. Further, I would like to highlight the intersecting ...
1
vote
0answers
37 views

How do I change a ColorFunction filling to be top-down as opposed to left-right? [duplicate]

I've been stuck on a seemingly simple Graphics issue for quite a while now... I am trying to make a temperature distribution Plot that will have a colorFunction filling to show red when at a higher ...
0
votes
1answer
189 views

Animation of 2 Differential Equations - 1 Independent Variable

I have effectively 1 differential equation that had to be broken up into 2 (max number of steps reached). I have gotten the solutions for both using NDSolve and have plotted each together. Now, I am ...
3
votes
3answers
105 views

Zooming the interval arround $0.333\cdots $, whats wrong?

I'm trying to zoom the interval arround $0.333\cdots$ with: ...
2
votes
2answers
123 views

BarChart include multiple fields on x-axis

I want to chart data using a BarChart, the labels on the x-axis should consist of three values, however I can only use one of the values (the street name), where I would like to include the city and ...
16
votes
1answer
441 views

Fast DensityPlot

Is it possible to increase the perforamce the DensityPlot? For example, let's try to plot this "flower" ...
1
vote
1answer
119 views

ListPlot with high precision

I have a list of numbers, e.g. {{1.,0``27.698970004336022},{2.,0``27.698970004336015}} but usually much longer, suitable for ...
3
votes
2answers
91 views

How to align the output of MatrixPlot with the output of Plot

I am trying to figure out how to align different types of plots into one image. For example in the following code, it plots two lines on top of a MatrixPlot. I want ...
1
vote
1answer
336 views

Plot in a 2-dimensional simplex

I have a row vector as $P=(p_1,p_2,p_3)$ which should be obtained from the following constraints: $a_1p_1 + a_2p_2 + a_3p_3 = b_1p_1 + b_2p_2 + b_3p_3$ ($a_i$'s and $b_i$'s are known) $p_1 + p_2 + ...
3
votes
2answers
309 views

How to plot several functions without jumping? (multiple eigenvalues of a system as functions of 2 parameters)

I've been working on this research problem for months with some success by no global/proper solution to the problem. So I have square, Hermitian matrices of various sizes ($8,20,38$ dimensions) with ...
23
votes
5answers
943 views

How to plot ternary density plots?

How can I get a ternary density plot just like the plots from OriginLab? ContourPlot and DensityPlot seemingly can solve the ...
1
vote
2answers
260 views

2D ListPlot with separate color function

Suppose a data array of the form {{x1,y1,z1},{x2,y2,z2}...}, is it possible to use ListPlot where x,y specify the point position ...
1
vote
3answers
186 views

Plot a table of ranges

I have table with values like: t = {1.234 <= a <= 2.345, 3.42 <= a <= 5.67, ...} and I want to plot this table, the ...
0
votes
1answer
170 views

How to build an interface that plots an equation given as text by a user?

I would like to create a window where a student may enter an equation and, by clicking on a button, the function gets plotted. In the original Spanish: Quiero realizar una ventana en la cual el ...
1
vote
1answer
124 views

Filling between quantile ranges

Following code plots Quantiles for a GBM process. ...
2
votes
2answers
119 views

How to exclude numbers in a series and still plot the graph? [duplicate]

I want to plot this: $\displaystyle\sum_{n=-{10}\atop n\ne \pm 1}^{10} \dfrac {4i(-1)^{n}n}{(n^2 - 1)^2}e^{inx}$ but have no idea how I can exclude the cases for when $ n = \pm 1 $. I don't wish to ...
1
vote
1answer
228 views

Looking for better way of plotting families of functions

I'm trying to plot this: ...
5
votes
1answer
145 views

Problem to plot GDP data coming from Wolfram Alpha

I'm working with economic data and realized that I could extract it directly from WolframAlpha using _Mathematica. So I did it. I extracted the GDP data of the country I'm studying. ...