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

learn more… | top users | synonyms (6)

6
votes
1answer
44 views

How can I specify position of ContourLabel? [duplicate]

Consider the ContourLabeled plot: ...
3
votes
0answers
83 views

StreamPlot of potential flow from a finite element calculation

I am trying to calculate a potential flow past a thick plate. The finite element calculation seems to go well but I am finding it difficult to get a nice plot of the flow. The stages below are, ...
2
votes
3answers
72 views

Initial value producing an error in a dynamic display

I have ...
2
votes
2answers
125 views

Plotting a function over a region

I want to plot $f(x,y)=\max(x,y)$ over this region $y > -3x + 9 $, $y > -x + 5$, $y > -1/3x + 3, x \leq 6 $ and $ y \leq 7$. I've seen some answers, but nothing that could be applied to my ...
3
votes
1answer
176 views

How to fill curves with a color gradient?

I would like to produce a graphic like this but with a continous color gradient between the outer curves. Is it possible to achieve this by using the Filling ...
5
votes
1answer
70 views

How to change the x-axis ticks from numbers to months

I have a ListLinePlot, for which the x-axis is time (November 2011 to January 2014). Now, when I plot it, the x-axis ticks run from 1 to 28 because the time ...
2
votes
1answer
77 views

How to change the font size of a pie chart's legend

I have a pie chart and I would like to make the font size of the legend bigger. I was able to make the fonts bigger for the chart labels but ...
4
votes
1answer
89 views

Vector tips seem to resize and get ugly in some situations

In Selwyn Hollis's CalcLabs with Mathematica, Multivariable Calculus, 5th ed., he does some nice initialization code for adding vectors to a plot. ...
11
votes
2answers
192 views

What will happen if I set ExclusionsStyle for points in 2D plot?

For example f[x_] := (x^5 - 4 x^2 + 1)/(x - 1/2); Plot[f[x], {x, -1, 2}, Exclusions -> {f[x] == 0}, ExclusionsStyle -> Dashed] Has the ...
0
votes
1answer
52 views

smoothing plot edges

I have a data list as mydata: ...
4
votes
2answers
129 views

Why do I need to apply DiscretizeRegion to a derived region to visualize it?

What are the design principles, or other explanations, as to why one needs to apply DiscretizeRegion to obtain a graphical representation of a derived region, ...
0
votes
1answer
50 views

Ndsolve parametricplot

Ndsolve solution cant manipulate parametric plot!! ...
2
votes
2answers
67 views

Density plot with list data and preferable boundary

I have a list as ...
0
votes
0answers
21 views

Specifying plot markers (filled diamonds or squares) [duplicate]

I can plot my list data and I can use of specifying circle to show my plot-markers. I used of Mr.Wizard comments on that page. But I don't know how can I fill the circles of those plot-markers with ...
3
votes
1answer
134 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
75 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
100 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
81 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 ...
17
votes
3answers
395 views

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

Consider this: pts = {{0, 0}, {1, 1}, {2, -1}, {3, 0}, {4, -2}, {5, 1}}; f = BSplineFunction[pts] I can use ParametricPlot to ...
4
votes
1answer
112 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
91 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
71 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
74 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} ...
2
votes
1answer
79 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
170 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
185 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
149 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
54 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
165 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
51 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
131 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
513 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
69 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
84 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
78 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
103 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
117 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
75 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
56 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 ...
0
votes
1answer
64 views
5
votes
1answer
114 views

ParametricPlot3D with tube and arrow

I have this: ...
3
votes
2answers
143 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
98 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
163 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
35 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 ...
20
votes
1answer
304 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
141 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
64 views