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

learn more… | top users | synonyms (4)

6
votes
1answer
187 views
0
votes
3answers
120 views

How can I plot f(x) with respect to 1/x?

How can I plot f(x) on {y axis} with respect to 1/x on {x axis}?
1
vote
1answer
84 views

Visualizing how the zeros for this function change as its input parameter changes?

I'm trying to explore how the zeros of a certain parameterized function change as its parameter changes. ...
0
votes
1answer
73 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 ...
16
votes
4answers
646 views

How to plot a curve with border around the line?

This can be useful if the curve is passing over both dark and light backgrounds (like well-done subtitles in movies).
2
votes
1answer
176 views

Drawing an implicit function using ListPlot with a constraint on the solution

I need to plot a complex implicit function, ContourPlot in this case is not very convenient for me. Therefore, I want to plot my function using discrete points. I ...
0
votes
2answers
112 views

How to manipulate lists of parameters?

Suppose I have a function of a variable f, depending on some other parameters a and b, for ...
2
votes
2answers
108 views

3D plots with a continuous and discrete input [duplicate]

How can I plot a function with one discrete and one continuous input? Plot3D wants everything continuous while ListPlot3D and ListPointPlot3D want everything discrete. I would like be able to say ...
1
vote
2answers
145 views

Plot a function which depends on itself

How can I plot a stepwise function like f[a, t] = 10 Exp[-0.1 Sin[t]] for a > t and ...
26
votes
5answers
3k views

How to plot Venn diagrams with Mathematica?

How does one plot Venn diagrams with Mathematica? I've searched quite a bit and I've found one source at MathWorld which provides the source code for doing them. But I don't understand this code, can ...
1
vote
1answer
87 views

Modular surface of tri-focal cassini curve ContourPlot3D missing feet

I am wondering why the following fails to cover the surface at points near k = 0. ...
0
votes
1answer
105 views

How can I close a gap in a bar chart?

I have the bar chart below: My code: ...
3
votes
2answers
181 views

Intersection of surface with parallel planes

Consider the code (adapted from here) ...
0
votes
2answers
102 views

Points on circle equally spaced [duplicate]

This might be a really simple question, but how do you generate equally spaced points on a circle? I have looked here and here, have played around for ages - I am sure I am missing something very ...
0
votes
1answer
66 views

How to put legends in a chart plot [closed]

How can I put a chart legend inside a bar chart? I tried Placed[ ... ,{Right,Top}], but it didn't work. It works for Plot. ...
2
votes
1answer
85 views

Issue in displaying a rotated PolarPlot with Show

I can use PolarPlot to generate a plot; however, I would like to rotate the plot by 90 degrees and then output the result using Show. Here is the code ...
23
votes
3answers
6k views

Marking points of intersection between two curves

I'm trying to illustrate the solutions numerically and graphically for an equation such as Tan[x] == x. I think I did everything ok except I wanted to mark each ...
0
votes
1answer
65 views

Plotting two-variable function as function of one variable with manipulate for both variables

I have a function g(x,y) and would like to plot it as g(x) with a slider to vary y. What I currently have is a g(x,y) plotted as g(x) but with y as a parameter which I can adjust: ...
0
votes
1answer
102 views

Plot not working

I am trying to generate a plot for S2[w]. My code is below ...
0
votes
1answer
80 views

Plotting error table in 3D

I have an error table which includes three parameters(error, epsilon and step size) and the matrix is not square. Now, I want to plot my data in 3D, but didn't manage to do it. My table is as follows ...
6
votes
1answer
154 views

Exporting EPS figures with dashing from ListPlot

I am having difficulties exporting EPS figures. If I use the LineLegend option to create a dashed or a dot-dashed line, it seems ok in Mathematica 9.0 e.g.: But the problem came out when the ...
2
votes
2answers
273 views

Drawing tubes with a While loop

I'm trying to make a plot with many objects in it using a While loop. Something like the following: ...
11
votes
4answers
376 views

Is it Possible to change dashes into circles with Plot command?

Is it possible to change the Dashed Style of a curve into circles with Plot command ? ...
4
votes
3answers
108 views

How to order legend in Show?

I've asked this question in Wolfram community and have not received a response. I am wondering why when I use Show to combine 6 plots, the plot legend does not ...
1
vote
1answer
52 views

Reading Options from DateListPlots with legends

Normally I can recover the options used on a DateListPlot easily with Options[]. However if one of the options said a Legend should be attached, it appears all the options are then unreadable. For ...
4
votes
2answers
110 views

FrameTicks and Ticks on Axes in Same Plot

I have a plot where I would like ticks shown on both the axes and the frame, with them labeled separately. I have custom labels for the frame and want the horizontal axis labeled with ticks ...
0
votes
1answer
107 views

Revolve A Function Around the Y axis? [duplicate]

I am seeking to revolve the are between the functions function $d(x) = Exp(x)$ and $e(x) = 4 - x^2$ around the line $x = 2$. I am using RevolutionPlot3D, so I ...
3
votes
1answer
93 views

Combine two DateListPlots and retain a time axis

I am trying to combine two DateListPlots to produce a single chart with 2 y-axis. There is an example here with regular Plots and I have tried to adapt it for time based data ...
0
votes
1answer
81 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 ...
6
votes
1answer
175 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 ...
3
votes
2answers
149 views

Map of Swedish regions?

There have been some questions dealing with how to draw individual US states since such data doesn't come with Mathematica through its CountryData which offers ...
2
votes
1answer
118 views

Plotting power spectral density from transfer function

I am new to signal processing. The equations below are given in $LaTeX$. I have the following transfer function (from the Dryden Model) for the two-sided Power Spectral Density: $$S(w) = ...
5
votes
1answer
159 views

Why does the order of arguments in Show influence the result?

I am wondering why there is a difference in the results from evaluating the two expressions, which differ only in the order of the arguments given to Show. When I ...
36
votes
1answer
1k views

Constructing election cartograms?

I found this pretty neat page showing cartograms for the US elections and I don't really know how to get started doing these graphics in Mathematica. For those who don't know, a cartogram is a map in ...
0
votes
0answers
88 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
72 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
58 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
61 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
74 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
72 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 ...
0
votes
1answer
50 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 ...
1
vote
1answer
129 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
0answers
11 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
56 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
91 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
96 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 ...
6
votes
6answers
2k views

Getting a list of accurate coordinates from a plot

I have encountered this problem of getting a list of accurate coordinates from a plot. Upon searching online, the best method of doing so is to right-click on the plot and select "Get Coordinates". ...
0
votes
1answer
80 views

Problem ListLinePlot with 2 data sets [closed]

I am trying to plot 2 data sets with ListLinePlot and my problem is that no graph shows up. When I plot a single data set i.e. ListLinePlot[Aluminium] it looks ...
1
vote
2answers
200 views

How can I plot implicit equations?

If you enter the following into Wolfram | Alpha, you get nice graphs: graph 4 x^4 + y^2 = 2 How do you do this in Mathmatica? I realize that these are not ...