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

learn more… | top users | synonyms (6)

3
votes
1answer
128 views

How can you get the area of a region from an image?

Suppose we have a square of side "L" m, How can I calculate the hatched area, if the corners of the square are centers of circles. It can be generalized to any region? edit: This is the result I ...
2
votes
1answer
70 views

Marking distance with an arrow that has lead lines

I have: ...
0
votes
0answers
35 views

Graphing imaginary numbers [duplicate]

I'm solving [Sum(i=1..p) x^i] = 100. The max value of 25 is arbitrary. I would like to see how the solutions look in 2-dimensional space. How do I view an imaginary number on a Cartesian coordinate ...
4
votes
2answers
91 views

ColorFunction uses graphics coordinates instead of Plot3D coordinates

I've had the same effect in Mathematica 9 and 10. I'm trying to color a 3D Plot with another function, let's call it colorFun ( it should highlight the areas where the colorFun is above a certain ...
4
votes
1answer
65 views

Remove the extra white-space padding introduced by implicit use of Inset in GraphicsColumn

Simple Context This is a question about understanding how Inset really works and how GraphicsColumn and the like automatically ...
12
votes
1answer
207 views

How to implement the sample-point process like the built-ins of Mathematica?

Considering that pts = {{0, 0}, {1, 1}, {2, -1}, {3, 0}, {4, -2}, {5, 1}}; f = BSplineFunction[pts] Then I can use ...
3
votes
1answer
100 views

Adding z-value to mesh lines in Plot3D as is done in ContourPlot

Consider: f[x_, y_] = (x^3 + y^3)/(x^2 + y^2); Plot3D[f[x, y], {x, -1, 1}, {y, -1, 1}, MeshFunctions -> {#3 &}] Which produces this image: Is there a ...
4
votes
2answers
81 views

Plotting results from Findroot

I know this has been asked, but I cannot seem to understand the solutions. What I need to know, because I have my first domiciliary test this Monday, is how to plot the output from ...
0
votes
2answers
68 views

Not seeing line defined in an Epilog option

In the following code, the line defined in Epilog option of my 2nd parametric plot doesn't show up in the content pane of my ...
1
vote
1answer
71 views

Manipulate to determine $\delta$ given $\epsilon$ in continuity question

This is a continuation of a question I posed at: Examining the function $f(x,y)=xy(x^2-y^2)/(x^2+y^2)$. The quest is to analyze the partial derivative $$ f_x(x,y)=\begin{cases} ...
0
votes
0answers
50 views

How to modulate the ratio of a spiral thickness to the space between consecutive loops? [closed]

I think my previous question has been answered pretty thoroughly, but now I need to post a follow up to it, so I figured I might as well make a new question. See previous question here. A spiral ...
2
votes
1answer
70 views

Still more problems with Fitting, please help

I'm in a little over my head here and I'm fully aware of it, so I'm hoping for some help. I've been assigned to a project where I am given data: http://www.pastebin.ca/3061136 (Example Data) I ...
3
votes
3answers
162 views

Mathematica equivalent to gnuplot's fsteps option?

In a ListLinePlot I can set InterpolationOrder -> 0 to get the equivalent of gnuplot's ...
2
votes
3answers
168 views

Fitting and plotting Weibull distribution

How can I find the best fitted 2-parameter Weibull's distribution (PDF) to describe my data? How can i plot my data and estimated distribution all in one graph? How can I show/compare results of ...
3
votes
2answers
144 views

An informative contour plot

I'm trying to visualise the graph of a function $f(x,y)$ of two real variables using ContourPlot. Here are the things I'm after: The points where $f(x,y)=0$ ...
1
vote
2answers
51 views

Specifying the PlotRange according to a desired center

I have this plot of $f(x)=\ln x$ and the tangent line at $x=e$, and I'd like to specify the PlotRange so that it's the rectangle with its centroid at $(e,1)$, kind ...
-2
votes
1answer
154 views

How to get the coordinates of points within an image?

How can I get the coordinates of an image, and make Mathematica draw the image from the coordinates found? I am interested in just the outlines of the regions. Here is an example of the kinds of ...
-2
votes
1answer
46 views

Co-ordinates/ data marker in 3D plot

How to place the data marker or see the co-ordinates in below 3D plot and how to list all data points in this plot? ...
5
votes
2answers
127 views

Problems with ListPolarPlot

I want to plot the data that I got from measuring the angular dependency of the radiation intensity of a microwave emitter. My data: ...
8
votes
1answer
500 views

Is there any way to reveal a removable singularity in a plot? [duplicate]

Let's say we have a function $f(x)=\dfrac{2^x-2}{x-1}$. The graph of the function in Mathematica looks like this: The function in question is obviously not continuous at $x=1$, but that doesn't ...
1
vote
1answer
67 views

Discrete plots instead of parametric plots

I have a big iteration process and I want to look at the trajectories. Although if I consider ParametricPlot for this process, Mathematica connects points with lines. And for ...
1
vote
1answer
77 views

How to reconstruct a surface given points {x, y, z} and the surface normals {nx, ny, nz} at these points

I have 3D points above a 2D regular grid. At those points I know the normal vector of the surface. I am looking a command or function in Mathematica, like ...
2
votes
1answer
73 views

Plot works while RevolutionPlot3D doesn't

I am trying to draw a surface of revolution recovered from a differential equation with a singularity. In the simplest case, the answer is a sphere. You can check by hand. I manage to draw 2 ...
1
vote
2answers
100 views

How to change the scale of a ListContourPlot to logarithmic and combine it with a LogLinearPlot

My code is available from this link My questions are: 1) how can I change the compressed scale to fine one like {y = 0.1, 1, 10}, {x = 0.01, 0.1, 1, 10, 100}. ...
3
votes
1answer
87 views

Plotting Tupper's self-referential formula using ArrayPlot

For those who are not familiar with Tupper's self-referential formula, here is the wiki link. My interest was to plot it. I tried the naive approach using ...
0
votes
3answers
68 views

Confusing “Part::pspec” and “Part::partw” following call to ParametricPlot3D

The problem I'm having is that the function definition given below continually gives me baffling error messages. I'm trying to turn a list of 3D points into a function that approximates a curve by ...
2
votes
1answer
52 views

ContourPlot3D, Characteristics of PDE

The aim is to plot the solution of a PDE with initial value along with its characteristics and initial value. $x u_x - y u_y = 0$ on the line $x=y=u=t$, i.e. $u(t,t)=t$ $(t > 0)$. Then the ...
5
votes
1answer
108 views

ParametricPlot3D with tube and arrow

I have this: ...
3
votes
2answers
130 views

ParametricPlot with 2 variables

I want to try plotting this: As you can see the first axis is v and the second is just dependent of the angle of $\Phi$ . The function is ...
2
votes
1answer
95 views

Minkowski sum and product of 2D-regions

Let $A_j$, $j=1,\dots,n$ be subsets of $\mathbb C$ defined by $$ A_j=\{z\,|\,f_j(z)\geq0\} $$ where $f_j:\mathbb C\to\mathbb R$ are given functions. I am interested in the following subsets of ...
5
votes
3answers
160 views

Removing specific regions in post-processing of graphic

I'd like to create a graphic that looks like the following using RegionPlot with Mesh: I have three different plots and would ...
1
vote
0answers
48 views

Apply ListPlot to various data sets [duplicate]

Assume that I have data in the form: list = {{{1, 2, 3}, {10, 10, 10}}, {{4, 5, 6}, {20, 20, 20}}} I want to plot ...
0
votes
0answers
34 views

Finding intersection of two infinitely long lines using points [duplicate]

EDITED In the Find intersection of pairs of straight lines problem, it is assumed that line are intersected by default and the purpose is to find the intersection points. In the present problem, two ...
19
votes
1answer
287 views

New behavior of PlotRange in Mathematica 10

In Mathematica 10, when I plot data that has small changes around some non-zero value, the plot chooses a PlotRange that "collapses" the data so that the variations ...
4
votes
2answers
139 views

A particular contour does not show up, even though it is in my list [duplicate]

Consider: f = Sqrt[9 - x^2 - y^2]; ContourPlot[f, {x, -4, 4}, {y, -4, 4}, Contours -> {0, 1, 2, 3}, ContourLabels -> All, ContourShading -> None] ...
3
votes
1answer
55 views
0
votes
1answer
74 views

InteractiveTradingChart and ChartElementFunction

I want plot a similar candlestick chart as on the picture below with blue down-candles and white up-candles with blue edges. With TrendStyle -> {White, Blue} I don't see shadows on up-candles ...
3
votes
1answer
73 views

One Mesh Line does not show up in ContourPlot

Consider: ...
0
votes
1answer
89 views

How to apply stress (moment) graph color to cylindrical surface?

so i want to apply this graph colors to cylindrical surface. Thanks Ahead! Code: ...
8
votes
2answers
134 views

Mesh Problems with MatrixPlot

I've come across some weird behavior in 10.1 when trying to use Mesh with MatrixPlot. In the example below, when specifying Mesh, I only get one line along the X axis at 100 instead of lines at {100, ...
0
votes
1answer
58 views

Plotting with 2 variables and given list of f(u,v) values [closed]

Lets say I have a function y with 2 variables u and v : $f(u,v)=y=u+4v$ I want to plot y in 2-D. My first axis is u and my second is v. How do I plot this, if I have a list of values for my y? I ...
2
votes
1answer
108 views

Drawing lines automatically between two different plots

I try to create a special plot where several lines have to be generated automatically between two plots at very precise coordinate. My goal is to make something exactlly like But I want to do it for ...
2
votes
1answer
73 views

Nonlinear abscissa in TimelinePlot

I would like to produce a TimelinePlot in which the scale of the abscissa varies nonlinearly (compressing old dates and expanding recent dates). Others have ...
7
votes
1answer
99 views

Export Plot3D in Mathematica 10.1 is Rasterized by default

When I use Export to export Plot3D to pdf format, I get different behaviour in Mathematica 10.1 compared to 10.0. In particular, ...
2
votes
1answer
51 views

Using Epilog to increase text size [closed]

I have a plot with labels positioned using the epilog function for convenience. I would like to increase the size of axes labels within the epilog function but I haven't managed to figure out a way to ...
0
votes
1answer
68 views

Complex contour plot of a function of three complex variables [closed]

eqn[x1_, y1_, x2_, y2_, a1_, a2_] := ((a1 + I a2) - (x2 + I y2))/(((x1 + I y1)(x2+ I y2)) - (a1 + I a2)) How can I plot the ...
6
votes
3answers
111 views

LogPlot does not show all points

LogPlot ignores points which are going to "too high" values: ...
2
votes
2answers
197 views

How to do make Plot automatically figure out a domain interval?

When you tell Wolfram|Alpha to plot something, it automatically figures out a reasonable domain to plot it over. When I try something like Plot x^2 + y^2 = 1000 ...
0
votes
1answer
46 views

How to get DistributionChart to show normalised densities?

I am having some issue getting DistributionChart to show bin widths as expected, or perhaps it is in my interpretation of the plots. I have four data sets, all of the same length, and plot them in ...