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
0answers
54 views

Set Standard Plot Thickness [duplicate]

All of my plots should have the same set styling, that is, for instance, {ImageSize->460, Frame->True, PlotStyle->Thickness[0.004]}. Of course I do not ...
0
votes
1answer
54 views

How to put some values from a list into a function in a Do loop

I want to program a code in MATHEMATICA in order to calculate some values in different iteration. For example, assume this list: list={1,2,3,4,5} Now assume that ...
7
votes
1answer
408 views

Why won't my function plot?

If I define ...
0
votes
3answers
151 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}?
0
votes
0answers
50 views
2
votes
2answers
213 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 ...
2
votes
1answer
148 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
2answers
184 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 ...
1
vote
2answers
172 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 ...
0
votes
1answer
121 views

How can I close a gap in a bar chart?

I have the bar chart below: My code: ...
0
votes
1answer
139 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. ...
3
votes
2answers
501 views

Intersection of surface with parallel planes

Consider the code (adapted from here) ...
0
votes
2answers
363 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 ...
2
votes
1answer
147 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 ...
0
votes
1answer
112 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
104 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 ...
2
votes
2answers
319 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: ...
4
votes
3answers
292 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
77 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 ...
5
votes
2answers
272 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
179 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
207 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 ...
7
votes
1answer
310 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 ...
3
votes
2answers
297 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 ...
0
votes
1answer
470 views

Plot not working

I am trying to generate a plot for S2[w]. My code is below ...
10
votes
1answer
221 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 ...
2
votes
1answer
281 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) = ...
11
votes
1answer
476 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
149 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
93 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
98 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
246 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
241 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
99 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
72 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
15 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
70 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
336 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
156 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 ...
0
votes
1answer
157 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 ...
0
votes
0answers
69 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
195 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
82 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
52 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
553 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
117 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
87 views

Working with functions

I am required to write a function that takes a function as a parameter. ...
1
vote
1answer
182 views