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

learn more… | top users | synonyms (4)

-3
votes
0answers
57 views

Polar Plot Confusion [on hold]

Make a Manipulate that places a green point on the rose r=a+Sin[θ] at the point {r[t] Cos[t],r [t]Sin[t]}. You do this by using ...
1
vote
1answer
66 views

MathematicaPolarPlot Question [on hold]

Using this as an example PolarPlot[{1,Sin[3 θ]},{θ, 0, 2 π}] Now consider the family of polar curves r=a+Sin[3 θ] as we vary ...
6
votes
2answers
86 views

Method options for DensityPlot and ContourPlot

What Method options are allowed for DensityPlot and ContourPlot? I am unable to find this ...
0
votes
1answer
106 views

How do I plot results of complicated calculations in Mathematica?

I am new to Mathematica and am struggling with making plots of how features of solutions vary with parameters. For example, I can find the eigenvalues and zeroes of a Sturm Liouville problem (showing ...
2
votes
1answer
149 views

How can I improve ContourPlot to get smooth curve?

I am working on the ContourPlot to creat contour line of a InterpolatingFunction recently. This is my data. This is my simple ...
7
votes
4answers
237 views

Plot of Implicit Equations

I've read Cool Graphs of Implicit Equations recently. In the article, it mentioned a software GrafEq which can draw graphs of arbitrary implicit equations. For example, And I've tried several ...
0
votes
0answers
35 views

Align axes in GraphicsGrid - with one rotated figure

I would like to align the axes of the three plots: g3, gPosteriorMarginalMu and gPosteriorMarginalSigma: ...
0
votes
1answer
31 views

Add a legend to a DiscretePlot - Version 8 [duplicate]

I have found several topics with legend issues but no answer to my problem. I have a function and I need to plot it for integers only (hence discrete plot) and then add a legend too. But ...
5
votes
2answers
145 views

How can I use ContourPlot to creat streamline for a free surface domian: proper arrow orientation and correct domain?

I get into trouble when I use ContourPlot to draw streamlines in a free surface flow domain. This is my data.The data are a little bit big, please be patient. ...
3
votes
1answer
55 views

ParametricPlot3D: The Mesh shows some unexpected wires to the origin. How to remove them?

In the code below a hexagonal shape is defined and plotted. The ParametricPlot3D shows the hexagonal design almost as intended. However, the mesh makes some strange "wires" to x=y=0. This is ...
4
votes
2answers
113 views

Specifying and solving a PDE on an L-shaped domain

I wish to solve Laplace's equation with Dirchlet boundary conditions on an L-shaped domain as described here http://www.inf.ethz.ch/personal/tulink/FEM14/Ch1_ElmanSyvesterWathen_Ox05.pdf I know how ...
1
vote
1answer
14 views

How to share `ChartLegends` among multiple `BoxWhiskerChart`s in `GraphicsGrid`?

First, create two BoxWhiskerChart: box1 and box2 ...
2
votes
1answer
62 views

Dynamic overlay of graphics and plot while maintaining uniform coordinates

I have a plot and a graphic that I want to overlay onto one another while retaining a uniform sense of coordinates throughout the whole thing. I have tried to do this two ways and both suffer from ...
1
vote
1answer
79 views

Derivative of a plot [on hold]

I plotted a graph numerically, so I don't have a definition of the plotted function. Now I want to plot the derivative of this graph. Is there any way to do it in Mathematica? I have the following ...
3
votes
3answers
108 views

Colorize an image using two parameters

I have a matrix of data. I use Colorize[Image[Rescale[data]],ColorFunction->"Rainbow"] to create an image from the data where the value of each pixel is used ...
0
votes
0answers
49 views

Manipulate plot [duplicate]

How can one do this: ...
0
votes
0answers
81 views

GraphicsGrid output is incorrect - image seems compressed [on hold]

I want to plot a large number of large data files but the output images are incorrect when I'm iterating over a GraphicsGrid with the Export command. ...
6
votes
2answers
170 views

Mathematica 10 ListPointPlot3D PlotTheme bug?

I am using Mathematica 10 to generate a 3D point plot of a crystal lattice structure. I wanted to set the PlotTheme to ...
1
vote
1answer
46 views

Ratio of variables AxesLabel is messed up when plot exported to pdf

On the vertical axis of a Plot whenever I have a ratio of variables in a string as axes label, the exporting of the plot to PDF format messes this ratio up. Minimal working example: ...
0
votes
0answers
33 views

plot both parts of a two-sheeted hyperboloid [on hold]

Is it possible to plot both parts of a two-sheeted hyperboloid in one input with the following parametrization, meaning that the z-component would be plus minus ...
2
votes
1answer
118 views
0
votes
0answers
34 views

Plotting the real positive solution to a parametric equation [duplicate]

I have the following parametric equation $$ x^2-a=0 $$ where $a$ is a given parameter. I would like to plot the nonnegative real root ($\sqrt{a}$) using NSolve as $a$ varies from $0$ to $1$. Can ...
1
vote
2answers
73 views

Incorporating the minimum and maximum of the function in a Dynamic plot

I'm working on my project for class and it's supposed to be a graph that can take functions from the user and display it along with finding the max and min of the graph. But I just don't know how to ...
0
votes
0answers
22 views

Plotting the vector field of a function [closed]

$f(x, y) = x^2y - y^3$ In := Grad[{x^2*y - y^3}, {x, y}] Out := 2 x y, x^2 - 3 y^2 In := VectorPlot[{2* x* y, x^2 - 3 *y^2}, {x, -3, 3}, {y, -3, 3}] Do I ...
0
votes
0answers
30 views

Reverse x and y in pairs data set [closed]

I have a list of data {{x,y}}={{2,4},{5,6},{2,1},{7,4},{3,4},{4,6}}.Mathematica automatically plots x in horizontal axis and y in vertical axis. I would like to switch axis position such that new ...
0
votes
1answer
62 views

Plot table versus table [duplicate]

I have two tables like: nex1 = Table[l3*10^3/4*10^14, {l3, 1, 30, 1}]; nex2= Table[l4, {l4, 1, 30, 1}]; How can I plot nex1 versus nex2 so that nex1 is x axis ...
0
votes
0answers
55 views

How to plot a ternary plot? [duplicate]

Does anybody know how to plot a ternary plot (equilateral triangle)? Suppose, I have a list of lists like this (triplets): ...
0
votes
0answers
49 views

Plotting Earth's position with units

I'm trying to plot the Earth position with the Sun in the origin. I have two lists like this: ...
0
votes
0answers
37 views

Plot function failure, and understanding how mathematica selects recursion points for correction

I think it is best to start out by directing everyone to this link. The discussion concerns why the Plot function fails to accurately generate a simple sine wave for given parameters. The answer given ...
5
votes
2answers
159 views

ListContourPlot interpolation fails if x and y axes have different scales

To summarize what is below: ListContourPlot doesn't work when the domain has different x and y scales (fails when x/y~10^4, which seems surprisingly small). Is it possible to call ListContourPlot ...
5
votes
0answers
76 views

More Ticks::ticks errors in AbsoluteOptions in v10

Bug introduced in 10.0.0 While the specific bug affecting Plot described in AbsoluteOptions prints error messages in V10 has been fixed in 10.0.2 there remain ...
0
votes
0answers
34 views

Break axes on listcontourplot

I would like to insert a break on both of the axes of a ListContourPlot near the origin, to include a datapoint which has axis values quite far away from the others. The question is similar in nature ...
0
votes
0answers
72 views

Plotting: Is anyone familiar with field line command?

I am trying to plot this graph the electric field lines of finite line, but I do not know how to express the equations for plotting electric field lines of finite line. Can any one help? Thanks sooo ...
13
votes
0answers
367 views

Save as pdf broken in version 10.0.2?

It looks like the save as pdf is broken after I update to version 10.0.2. The labels in the plot become a mess. Are there ways to fix it? The Export function works ...
2
votes
2answers
94 views

How would I rotate a table of Cuboids around the y axis?

Currently I can print out this using Graphics3d: Here's the code: ...
0
votes
0answers
51 views

How to find only the negative Imaginary solutions and positive Real solutions?

Following this post Help Please : Error in plotting the solutions of FindRoot , I want to plot only the negative Imaginary solutions Wi(K)<0 and positive Real solutions Wr(K)>0. Please, how do it? ...
2
votes
2answers
60 views
0
votes
1answer
32 views

assign different values to the function of ContourPlot

I have a H function which describe the location of the same temperature. I can draw the function with ContourPlot. But the real value of the temperature needed to be calculated separately. I need to ...
1
vote
2answers
128 views

Only show part of a cube below an intersecting plane

I plot a cube and a plane. I just want to show the part below the plane. The code: ...
2
votes
3answers
85 views

Customizing the order of appearance of legends in PlotLegends

I have a graph with four curves and I want to custom order their appearance in the legend. In particular, in the graph below, ...
0
votes
1answer
71 views

Parametric Plotting

I am trying to make a parametric plot of the x and y displacements of a vibration problem. When trying to plot the parametric curve won't show up.
6
votes
3answers
206 views

Polar histogram

I am developing an algorithm to generate a descriptor of a 2D object based on polar histogram. suppose that we have a datalist centered in {cx,cy}. I use 36 bins where I consider 12 angles and 3 ...
0
votes
0answers
62 views

How to insert a time indicator on a timetable?

I am trying to insert a time indicator into my timetable. First, to import the timetable: t = Show[Import["http://timetablesource"][[3]]][[{1,2}]; I then ...
0
votes
1answer
48 views

How to Plot inside a Do loop? [duplicate]

Why does this not give me any plots? It should give five plots. Do[Plot[x^n, {x, 1, 2}], {n, -2, 2}] If I remove the Plot ...
2
votes
1answer
81 views

Ticks option is ignored when plotting with Frame->True

Plot[Sin[x], {x, 0, 10}, Ticks -> {{{4, "Here"}}, {-1, 1}}] ...
2
votes
2answers
102 views

Prevent axis label being cutoff

I am running into an issue whereby my Y frame label (I want to use this rather than an axis label to make the label vertical), is being cutoff when I view the graph. See below for an indicative ...
2
votes
1answer
65 views

Filling a Manipulate Plot

I am attempting to fill the part of the graph when the orange line is within the blue line. I am unable to make the fill work when the lines are under manipulation. Ultimately I would like there to be ...
2
votes
1answer
127 views

Missing tick in plot

update Still have problem in version 10.0.2 Consider this ...
1
vote
0answers
37 views

Why is Plot3D applied to TransformedDistribution in 2 random variables so slow?

I am trying to plot 3D, the pdf of a TransformedDistribution made up of random variables. So I can see the pdf in 3D, similar to this answer here Visualizing a 2-dimensional PDF But it seems to take ...