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
100 views

Question about inequality plot

I fed this inequality into Wolfram/Alpha: Mod[-1 + 2^(1 - IntegerExponent[2 + 2 x, 2]) 3^ IntegerExponent[2 + 2 x, 2] (1 + x), 1 + 2 x] < 1 + 2 x, and got ...
0
votes
0answers
39 views

Plotting a complex valued function in mathematica [duplicate]

How can I plot a complex valued function like $f(z)=z^2, z=x+Iy$, in Mathematica? Can anyone help?
3
votes
1answer
129 views

How to vary thickness of line on the plot? [duplicate]

How to plot the function f(x) so that one part be a thicker line than another depending on the value x? (Curve is efficient frontier - portfolio optimization)
0
votes
0answers
69 views

densityplot + world map overlay [duplicate]

I can make a world map, and I can make a density plot, but I can't seem to get them to overlay. Was trying to use Show to overlay: ...
0
votes
1answer
80 views

How to show an exclusion limit [duplicate]

I would like to show an exclusion plot, by having a filling made of parallel tilted lines. Any ideas? Something along these lines
2
votes
2answers
211 views

ContourPlot - plot only one connected component

How do I plot only one component in ContourPlot when specifying a height. For example, ...
0
votes
1answer
225 views

How to manipulate some list-plot in Mathematica

I have two separated matrices in the form X[[i*dx,j*dt]] and V[[i*dx,j*dt]] where i & j are integers from (1 to N) & (1 to M). V & X are velocity ...
1
vote
2answers
455 views

Plot3D region bounded by equations?

I have four equations, $$ z = xy \\ z=0 \\ y=x^2 \\ x=y^2$$ I would like to integrate the region bounded by them. Before this, I would like to plot the region they bound, but I cannot seem to find ...
-5
votes
1answer
217 views

How can I plot a function that is the sum of another function?

I plotted m[t], but actually what I want to plot is g[t], which is a summation of m[t] from ...
0
votes
1answer
106 views

How to return the points {Xi,Zi} generated by ContourPlot [duplicate]

I have the following two questions How to visualize the dependence Y versus X with Mathematica using ContourPlot, if it is given by the following system of two equations: Y=f(X,Z) and g(X,Z)=0 ...
-1
votes
1answer
215 views

Mathematica Semilog (LogLinearPlot) using x,y points from table [duplicate]

I am trying to use the LogLinearPlot in Mathematica 9 to create an x-axis only logarithmic plot that looks like this (Based on N^1.85 graphing paper) http://pingfire.com/ What it does is model a ...
4
votes
2answers
173 views

Using Multiple Kernels When Making Plots

I am running a notebook that makes multiple plots. I define a function and then I want to plot that function for different choices of parameters, using RegionPlot. ...
1
vote
1answer
232 views

Unit of the frequency axis in BodePlot

I have a simple question: What is the unit of the frequency axis in the BodePlot? I searched the documentation, but only found this: The scaling functions can be specified as ...
2
votes
4answers
208 views

Plot counting function semi primes

I am trying to generate a plottable semi-prime counting function. Have tried: ...
11
votes
2answers
409 views

Plotting time data with axes labels and point labels

I am trying to create a set of commands to automatically create clinical lab value plots. Using time is my major issue here. It is hard to dynamically reference the different point positions to ...
0
votes
1answer
51 views

Plotting: Basic Question [duplicate]

I am new user. I am plotting "y = x^3". My "x" domain is "{x, -5, 5}", but then it scales for all "y" values. Is there anyway to zoom in, or have it plot/display a limited "y" range of values? The ...
0
votes
1answer
81 views

StreamPlot Label for General Parameter

I have a simple DEQ: $$y'(t) = y + C$$ for a constant $C$. It turns out that the equilibrium point of this DEQ is $-C$. I can use the StreamPlot command to plot ...
3
votes
3answers
383 views

Draw grid lines at multiples of k

Here is a beginner's question: when creating plots with mathematica, I want the grid lines to be at multiples of a constant value. E.g. in the following plot, the vertical grid lines are at multiple ...
1
vote
3answers
149 views

How to have a special grid as background of a plot?

I want to have a grid background for the function (2/5)*x+3/5 but with one small detail. I want the coordinates of the points to be in the centres of the background ...
0
votes
1answer
97 views

Problem with Plot of Solution for NDSolve [closed]

I'm trying to plot the solution of an equation using NDSolve. For some reason nothing shows up in the plot. I checked the output of the interpolating function and it doesn't look like there is ...
0
votes
1answer
211 views

spherical polar plot of radial function [closed]

Can you please tell me how to plot $\sqrt{r}$ in 3d sph polar plot? In the spherical plot 3d there is no option I can put variable r. So how should I proceed.
6
votes
2answers
1k views

How to reverse the direction of the y axes

I have a similar question to this one. Unfortunately, the answers there didn't help me. I would like to plot a simple function with the normal Plot function. ...
1
vote
1answer
116 views

need help rotating an object about the z-axis using animation

This should be an easy question for anyone familiar with 3D animations. I have a 2D shape denoted by the equation ((x-1)^2+y^2) ((x+1)^2+y^2)==1 and I ...
2
votes
1answer
425 views

ListPointPlot3D with connected points?

With the command ListPlot[data,Joined -> True] I can visually connect adjacent data points in the array with lines. However, this option appears to be missing ...
2
votes
1answer
152 views

How can I get dotted boundaries on a RegionPlot?

How do I plot something like $$\{(x,y): 1 \leq x^2 + y^2 < 9\}?$$ I want to be able to make the boundary $x^2 + y^2 = 9$ dotted line and the unit circle filled and coloured region in between? I ...
1
vote
1answer
233 views

Detecting a nonlinear edge in a 2D point pattern

Following an earlier post here, I have generated a point pattern on the unit square $[0,1]\otimes[0,1]$, which is described by a piecewise constant intensity function constructed so that (in ...
1
vote
1answer
1k views

How can I insert text into a relative position in a plot?

I use the following code to draw a parametric plot, with Epilog to add a point, and text using Graphics. ...
2
votes
2answers
105 views

Why I need Evaluate for the Plot of the probability density function of PolyaAeppliDistribution?

I encountered this when I was trying to answer this question. I just can't understand why the following code will only give a line at $y=0$: ...
1
vote
1answer
196 views

Removing the white space around plots when using customized FrameTicks

I'm using the CustomTicks package, which is part of the LevelScheme package, for styling the ...
0
votes
2answers
170 views

Dynamically change the variables plotted against in Plot3D

This question posed by @Cam is the closest I can find to my question but I feel that the answers don't really guide me in the way in which I'd like to proceed.... How do I dynamically change ...
0
votes
2answers
257 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
151 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
171 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
1answer
69 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
0answers
118 views

How can I say that all quantities need to be positive (and real)? [duplicate]

Can you say at the beginning of a script in Mathematica that you want all the quantities to be positive (and real)? So that in all calculations, only the real values of these quantities will be ...
1
vote
1answer
176 views

Problem with large values in ParametricPlot

I've got a question quite similar to No 18163:Problem with high parameter values in ParametricPlot, but the solution of that problem did not work for me. So I hope you may have another tip. I want to ...
1
vote
1answer
58 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
122 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
174 views

FillingStyle Thickness Distorting ListPlot image

I'm trying to create a histogram using ListPlot using the Filling->Axis and ...
1
vote
1answer
128 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., ...
0
votes
1answer
130 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
190 views
2
votes
1answer
289 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 ...
1
vote
2answers
340 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 ...
0
votes
1answer
138 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
179 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 ...
1
vote
2answers
185 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
116 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
1answer
101 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 ...