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
2answers
98 views

Manipulate and ListPlot [duplicate]

I have a $300$ by $2$ matrix called r which its elements depend on parameter g. I would like to plot this matrix and change the ...
2
votes
2answers
113 views

how to get a linearized curve in some intervals

in below picture I draw a graph base on weight of a controller system against cost function. I want to linearise and divide this curve to for example 5 five intervals. is there any function in ...
0
votes
1answer
144 views

Better way to plot multiple discrete PDFs?

I often find myself trying to plot multiple PDFs for my courses. I find the default tools available to me are lacking and/or cumbersome. After readings some suggestions here, I have come up with the ...
0
votes
3answers
167 views

How do I fill the area from 0 to pi in my Sine wave and in the process get the area value? [closed]

I am new to Mathematica and I tried searching the docs but no specific examples there. This is what I have achieved so far, returns an error, probably wrong syntax. ...
1
vote
1answer
128 views

Overlaying a Plot within a Manipulate Control Panel

Is there a way to overlay a plot into a blank area of a Manipulate control panel, that will still update according to the controls in the Manipulate function? This is an image of what I have: You ...
0
votes
1answer
60 views

Maximum but still limited magnitude region is not plotted with ContourPlot [closed]

The function is well defined in the whole region. But it just skips plotting the center region. I've tried PlotPoints, Mesh, Contours - it didn't help. After making more contours. White hole is ...
1
vote
1answer
52 views

PlotLegends from a List

I want to generate plots showing dependence of a function on another parameter, and automatically add correct PlotLegend that says which graph is which parameter. ...
1
vote
1answer
83 views

Plotting columns of two separate data lists

I have two data lists with names data1 and data2. data1 has 8 columns and data2 has two columns. How can I plot 3rd column of data1 verses 1st column of data2?
3
votes
4answers
107 views

FillingStyle Thickness Distorting ListPlot image

I'm trying to create a histogram using ListPlot using the Filling->Axis and ...
0
votes
1answer
73 views

Plotting a curve in 3D [duplicate]

Say I have two polynomials in $\mathbb{R}[X,Y,Z]$, whose intersection of zero loci correspond to a curve in the 3D space. What is the best way to plot the curve? Example: $$ f = X^2+Y^2-Z^2, \qquad ...
0
votes
2answers
114 views
2
votes
1answer
145 views

Create a graph from KML file

I'm wondering how I can take a .KML (Keyhole Markup Language) file and convert/express it as a graph for use in Mathematica. Even just in general, is it possible to convert a KML file to a graph? I'm ...
0
votes
1answer
94 views

Plotting discrete points on a phase plot

I'm trying to generate a phase plot of a sinusoidal voltage at discrete points using the following code: ...
2
votes
1answer
80 views

Show contour area as tooltip?

I have contour plots, such as plot = ContourPlot[Sqrt[(x - 2)^2 + (y - 2)^2 - 5], {x, -15, 15}, {y, -15, 15}, Contours -> {4}] /. _Polygon -> Sequence[] I ...
4
votes
3answers
228 views

Align plots with a shift

I've got three plots combined through Overlay: ...
1
vote
0answers
61 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
97 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
162 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
95 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
79 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
73 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
137 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 ...
0
votes
0answers
68 views

GraphicsGrid confusion

When I make a GraphicsGrid the numbers on the axes stay full size, which makes things very ugly. How do I make them smaller? In addition, when I select the ...
2
votes
1answer
89 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
145 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
110 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
47 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
109 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
85 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
204 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
133 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
106 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
158 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
64 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
25 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
81 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
80 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
152 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
82 views

Evaluate in Plot leads to function error

Please help - I'm really struggling to understand why this evaluates with errors. ...
1
vote
2answers
144 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
93 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
52 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
140 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
67 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
67 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
108 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
34 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
144 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 ...