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

learn more… | top users | synonyms (5)

12
votes
1answer
563 views

Map of Specific US States? (Isolated)

My question here is fairly basic, and I'm sure I'm overlooking something basic. I know about CountryData for creating shapes of entire countries, and it works, to ...
0
votes
0answers
182 views

Intersection of any triangle with a circle in Cartesian coordinates

I started a notebook dealing with metrics in a triangle and its intersection points by a circle. Up to know I reached the point of having plotted a triangle, a circle with an arbitrary centre and I ...
1
vote
1answer
99 views

Empty plot - Euler's method

The answer from this question helped me use Euler's method. It worked for a simple function, but when the function is more complicated, I get an empty plot. This is my function: ...
1
vote
1answer
76 views

Forcing contours to close at edge

I have some data that I am plotting with ListContourPlot and I would like my contours to be closed at the edge (closing around the high value region). A simple ...
0
votes
1answer
105 views

Change Ticks in PairedBarChart

I am using the PairedBarChart feature as follows: PairedBarChart[Range[5], Range[5], BarOrigin -> "XAxis"] How can I (i) remove and (ii) change the number ...
0
votes
1answer
325 views

logplot for negative valued function

I would like to plot the following function Plot[(1/x (0.01/(0.01 + x^2) - (10/(10 + x^2))^2)), {x, 0, 10}, Frame -> True, PlotRange -> All] which is ...
1
vote
3answers
349 views

Plot with plot markers without using ListPlot

I would like to plot a continuous function with Plot with plot markers as if it were a ListPlot plot. Simple example: I have ...
0
votes
2answers
122 views

Fill below two functions.

I'm new to Mathematica and some of the filling stuff is confusing me. I don't think this should be too hard but I can't seem to get it to work. I have plotted x and -x. I want to fill below BOTH of ...
1
vote
1answer
74 views

Moving the start of a graph to the right, finding maxima in an oscillator

I have the following code written to simulate a driven damped oscillator ...
0
votes
0answers
16 views

?AspectRatio? setting to obtain equal length pr pixel on all axes [duplicate]

Like these does: Show[Graphics[Rectangle[{2, 1}, {15, 2}]]] ParametricPlot[{t,t t},{t,0,2}] how do I create a Plot[] with ...
1
vote
0answers
73 views

Mathematica exit when calling plot. Bug?

I'm currently studing the behaviour of some integral for which I cant find an analytic solution. As this function depend on a vector on the unit sphere, I first defined it with 3 parameters before ...
0
votes
1answer
400 views

Plot 3D density

I have data that is in four columns. The x y and z are just the coordinates and the fourth is my data. This is not a function. This is electron density in a copper cell and I'm trying to display it ...
0
votes
1answer
181 views

Visualize fixed points and stable points in 4D

I have a list of 4 dimensional data points which are sum to one and always positive. These points are the fixed points of the 4 dimensional nonlinear ODE. I also found the stable points of the system ...
2
votes
1answer
70 views

How to put Labels in of a list of number in a chart?

I can´t put the labels 0,....,31 in this simple chart on the usual place, or better just over the Top of each bar How should I do? ...
0
votes
0answers
74 views

An error message with NIntegrate and inability to plot the integrand

I took a function of x which depended on parameters on m,n,a,y and then first summed up the n from -Infinity to Infinity and then I set the other parameters to some random values and then I asked it ...
0
votes
1answer
236 views

How to label the coordinates of the plotted graph?

How can I label the coordinates of the plotted graph? I want to label the coordinate of $(-1,-1)$. ...
0
votes
0answers
85 views

My plot is cut off if a frametick is “0” but resized if a frametick is “0.” Why?

I have been trying to customize the frame ticks and frame label around a certain contour plot and am running into very strange behavior where the graphics will get cut off by ...
0
votes
1answer
62 views

Plot Natural Log and Derivative Help

h[x_] := Log[2 x + xSin[x]] h'[x_] := (2 + Sin[x] + xCos[x])/(2 x + xSin[x]) Plot[{h[x], h'[x]}, {x, 0, 10}] Whenever I try to plot these two functions the plot ...
4
votes
1answer
724 views

How to change display of axis unit from radians to degrees in a plot

Is there a simple way, besides changing my function to use Degree as input, to display the x-axis in degrees in a plot of a function defined with its independent ...
0
votes
2answers
176 views

How to store standard plot settings? [duplicate]

If I plot many graphs with some standard set of options. Is there a way to store this set so that i can have better overview/structure over my plotting commands? example, I plot a function f[x] with ...
0
votes
1answer
88 views

Working with functions

I am required to write a function that takes a function as a parameter. ...
1
vote
1answer
227 views
2
votes
1answer
172 views

Fourier Transform Help

I'm trying to do a Fourier Transform of the following Data, but I'm completely stuck. Here's what I've done so far: ...
0
votes
1answer
202 views

Combine Plots into a single non-rasterized Graphic with no spacing [duplicate]

Suppose that I have two plots, pl1 and pl2: ...
4
votes
3answers
189 views

How to make an arbitrary number of plots have different labels/colors/etc?

I'm sorry but I'm not sure how to phrase this question well. Frequently I have a function that produces and returns a Plot[] or array of Plot[]'s, which I can then display with Show[], or combine with ...
2
votes
2answers
827 views

Parametric plot of multiple graphs on the same axes

I'm trying to plot on a single axes system multiple graphs but ran into a problem when tryinf to label my graphs. Here's what I've used so far Mathematica code: ...
2
votes
1answer
260 views

Plotting Zeros of a Complex Variable

I'm trying to plot the zeros within a certain distance from the origin using Mathematica of a given function (in my case, partial sums of the Zeta Function). I've tried plugging in simple functions, ...
0
votes
2answers
81 views

Accumulate 2D points that have the same first component [duplicate]

I have a list of points: points={{3, 0}, {3, 9}, {4, 2}, {5, 5}, {6, 9}, {6, 6}, {6, 1}, {7, 7}, {8,0}, {8, 10}}; And as you can see on the plot, there are ...
1
vote
1answer
119 views

Plot rate of change in $x$ axis of list of points

I have a list of points, that may have clusters in some of the $x$ axis values, and my goal is to get a function that shows that graphically. Something like this, but the red function is "hand ...
1
vote
2answers
208 views

Cropping a Plot without rasterization

Suppose that I make a plot of $x^2$ vs. $x$: myPlot = Plot[x^2, {x, -1, 1}, Frame -> True] If I click on the plot, I see the orange handles with which I can ...
3
votes
1answer
146 views

Arguments for ChartElementFunction

I was reading the documentation for BubbleChart and I saw this example ...
1
vote
1answer
177 views

combining manipulate with “static” plot

Is there a way to show a plot of a "static" function as background for a manipulate panel ? In other words: I have put into a manipulate a trajectory (solution of a system of two differential ...
1
vote
2answers
245 views

2D Fourier transform of a table - ArrayPlot issue

Recently, I have encountered an issue with ArrayPlot after performing a Fourier transform of a table. Picture presented above is an ArrayPlot of a 2D table. Using Fourier on this 2D table I obtain ...
0
votes
0answers
47 views

How to add a subplot in corner of plot? [duplicate]

How is something like the plot with subplot shown in this image achieved with Mathematica?
0
votes
0answers
73 views

Converting a BSplinecurve to function

I am having two set of data. This is d000 and d001. The set d001 is a subset of d000. I am fitting the d000 data by using the BSpline of the d001 data according to the following commands: ...
1
vote
3answers
366 views

Plot parametric solutions using Manipulate [duplicate]

I want to plot the parametric diagram of {y[t],z[t]}, in which I manipulate a parameter, ω, from $[1, 10 \pi]$. Here is what I have attempted, but I can't get a ...
2
votes
2answers
545 views

How to visualize slope fields of differential equations without vectors?

I'm looking to visualize slope fields of differential equations for my differential equations course. Every example I see draws them as vectors, adding unnecessary "arrows" that, to me, are visually ...
0
votes
2answers
80 views

Combine two functions in mathematica to get one image with two elements

I am trying combine this two functions into one piece in grid. ...
1
vote
1answer
111 views

Extracting Imported Information

What I want to do is to compare the relationship between the consumption of say beer and wine using scatter plots where each point designates the particular country (preferably named). I have tried to ...
0
votes
1answer
52 views

ContourListPlot not evaluating all of interpolated area

I am trying to plot a contour for a matrix, but it seems not to be evaluating all the points. Here is the interpolated figure, followed by the MatrixPlot version itself. I used this colormap because ...
-6
votes
1answer
175 views

Poincaré section for 3BP

I try to plot the Poincaré section for the 3BP i use the following code that works very well: ...
0
votes
0answers
36 views

How to plot data of complex numers [duplicate]

Here I have some output calculated for different values of some parameter. I want to plot these points in complex plane Re, Im and present them with ListLinePLot. How can I do that, I tried many times ...
2
votes
1answer
191 views

Breaks in plot & blank plots

Almost as a follow on from this old question, I am having similar problems again, with slight difference, that if the values are small enough, a completely blank plot is produced. ...
4
votes
1answer
326 views

MATLAB to Mathematica: coneplot

Does Mathematica have a function, similar to the one called coneplot in MatLAB? Given some spatial coordinates $x, y, z$ and velocity components $v_x,v_y,v_z$, it ...
9
votes
1answer
376 views

Generating high quality charts in Mathematica for use in LaTeX and Word

I frequently have a probelem using my charts in reports because the text (axes labels and tick marks) look low resolution (fuzzy). When I export my charts, i export them as PNG files. Unless I'm ...
0
votes
1answer
121 views

Plotting the discrete solution to a PDE

So I went through all the grunt work of solving a PDE in discrete form for a research project. Now I have a Temperature solution as a function of time and space: $$ T_{i}^{n+1}=\left( \dfrac ...
0
votes
1answer
46 views

How do I pull from a data list for parameter values in a system of ODEs and then solve and plot?

I have a parameter set list and I would like to solve a system of ODEs multiple times using each parameter set in the list. Then I would like each set of solutions to be graphed on the same plot. ...
0
votes
1answer
99 views

grid lines in Manipulate plots are not showing up when first rendered?

I have a Manipulate within which the plot does not render completely initially: ...
1
vote
3answers
408 views

Draw generalized k-ellipse using “the locus of points so that sum of the distances to the foci is constant” deffinition

My goal is to draw a family (for different distances) of 3-ellipse for equilateral set of foci. 3-ellipse definition is: "the locus of points so that sum of the distances to the three foci is ...