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

learn more… | top users | synonyms (2)

7
votes
1answer
130 views

PlotMarkers doesn't inherit PlotStyle when Graphics[a] isn't a List[]

Could somebody explain, why Circle does not inherit the PlotStyle of the plot when used as ...
5
votes
1answer
56 views

Combine absolute and relative (scaled) coordinates

I am using Inset to add an Epilog to a plot. The position of the images (in my case: framed numbers) can be specified as an ...
6
votes
0answers
233 views

Incomplete implementation of units?

I've been playing around with the new units capability in MMA9 and I'm becoming a bit frustrated with what I perceive as an incomplete implementation of this capability and I'm wondering if there are ...
6
votes
0answers
115 views

Break[] inside ColorFunction

f[x_?NumericQ]:= (Do[Break[],{i,1,2}];x) Plot[x,{x,0,1},ColorFunction->(ColorData["Rainbow"][f[#]]&)] Break::nofwd: No enclosing For, While, or Do found ...
5
votes
0answers
195 views

3D visualization of 4D object data

I have some paired data here {{x1,y1},...{x_n,y_n}} (Download link) which represents {frequency, amplitude} of a spatial object surface mesh. Its quite a lot of cells and data as you can see in the ...
5
votes
0answers
295 views

How to map rotate, pan, zoom to manipulate controls

I am wondering if there is a way to restrict the motion of the rotate mouse cursor in when moving around a 3d plot. For example, I want the y direction of the cursor to correspond to pulling the z ...
4
votes
0answers
93 views

Why can I Plot3D with values up to the range of 3 x 10^37 without issue, but at 6 x 10^38, it fails in Mathematica?

In mathematica I'm trying to plot this, using Mathematica 9 (trial): Plot3D [-x + x^(1 + y)/(1 + y), {x, 0, 37}, {y, 0, 37}] It plots just fine. If I ...
4
votes
0answers
134 views

Artifacts in Line Plot from InterpolatingFunction

I have a periodic solution from an NDSolve that is producing an InterpolatingFunction. With the default plot settings, there is not enough PlotPoints/MaxRecursion to resolve the peaks in the function: ...
4
votes
0answers
73 views

Editing preset schemes

Mathematica has many preset schemes, for example "DarkRainbow" and "FadingRectangle": ...
3
votes
0answers
72 views

Why do vertex labels disappear when I edit with drawing tools?

I'm trying to change the text and arrow style in GraphPlot using the drawing tool, but the the vertex labels disappear when I do that: ...
3
votes
0answers
189 views

A is fast, B is fast, but together they're Mathematica-crashing slow?

I'm trying to do something with finding solutions to a quantum mechanics problem with n wells. If there are 40 wells, I need to find the solution to an equation in the form: ...
3
votes
0answers
164 views

Scale plot display area (within the frame)

I have 2 data sets of equal length. I've done a LinearModelFit of them which gives me: ...
2
votes
0answers
106 views

Plotting equipotentials gone wrong

I'm plotting the equipotential of the potential function: $$\phi(x,y,z):=\frac{1+x^{2}+y^{2}+z^{2}}{[\left(1+x^{2}+y^{2}+z^{2}\right)^{2}-4z^{2}]^{1/2}}$$ Mathematica code: ...
2
votes
0answers
142 views

why version 9 is much slower than version 8 in producing these graphics

Consider this example(taken from Thomas's question here) ...
2
votes
0answers
71 views

Exporting plots

I want to export a plot which includes curve fitted to a multiple data set. shortly ( I use autolegend function Here ) ...
2
votes
0answers
160 views

VectorPlot scaling problems

When I plot a uniform field with zero values everywhere with the following command: VectorPlot[{y - y, x - x}, {x, -3, 3}, {y, -3, 3}] the result are horizontal ...
2
votes
0answers
132 views

how do you fix an axis in place for a movie?

I have a series of txyz coordinates, which I am plotting in space to create a movie of the objects' time evolution. With something along the lines of (simplified): ...
2
votes
0answers
105 views

Editable keyframe curves

Any suggestions for a good approach to implementing a zoomable 'keyframe' based curve editor? Essentially, something akin to the functionality of the graph editor in animation packages such as Maya. ...
1
vote
0answers
57 views

problem with exporting transparent object to pdf in version 9

Here is the code: Export["~/Downloads/1234.pdf", Graphics3D[{Lighter[Black], Opacity[0.5], Polygon@Table[{Cos[x], Sin[x], 0}, {x, 0, 2 \[Pi], 0.01}]}]] in ...
1
vote
0answers
82 views

How can I say that all quantities need to be positive (and real)?

Can you say at the beginning of a script in mathematica that you want all the quantities to be positive (and real)? So that in all calculations, only the real values of these quantities will be ...
1
vote
0answers
72 views

How can I convert a plot to pdf or eps without errors?

Mathematica 9.0.1, Linux. I try to save a plot as a pdf. I tried four different options. In each case some errors appeared as blank space ( http://yadi.sk/d/h1koyDci4z3rc ). I also tried to save ...
1
vote
0answers
62 views

Distribution above pointplot

This is my first question here, so I'm sorry if I do something wrong. Also I'm fairly new to Mathematica (using 8). I've used it about 2 months. Only 2 weeks intensive. The rest was about ...
1
vote
0answers
49 views

Comparing data sets with fade transitions (Code speed-up)

I am using the utility below for data comparison. However, with my real (more complex) charts the processing is quite slow, so setting the Pause time under ...
1
vote
0answers
76 views

Mathematica 3-D plot (discrete/continous)

I want to visualize a 3-D function in Mathematica, Say F(x,y,z)=0, But there is a small difference here with typical z=f(x,y). Because of it's complexity, I decide to consider the z parameter as a ...
1
vote
0answers
79 views

Is it possible to mask a vector image?

I am trying to plot a contour plot within a non-rectangular region. I have seen in other posts techniques that involve calculating an interpolation function and using the RegionFunction command within ...
1
vote
0answers
58 views

Is there a relatively easy way to add the “Cone of Influence” to a waveletscalogram?

I am analyzing time series data using the ContinousWaveletTransform function, and plotting the results with WaveletScalogram. I would like to plot the cone of influence on top of the WaveletScalogram ...
1
vote
0answers
59 views

Problem with large values in ParametricPlot

I've got a question quite similar to No 18163:Problem with high parameter values in ParametricPlot, but the solution of that problem did not work for me. So I hope you may have another tip. I want to ...
1
vote
0answers
109 views

PlotLegends in ListContourPlot for triplet of data showing strange numbers

I am taking here just a modified example from the Mathematica documentation of ListContourPlot, because I have in principle the same problem: ...
1
vote
0answers
123 views

Table not working with Plot

Because NIntegrate[] does not support parallel computation out of the box, I'm doing a simplified version by breaking the integration limit into pieces and using ...
1
vote
0answers
261 views

Calculating the mean curvature of a surface - suggestions

I am attempting to calculate the mean curvature [1, 2] of a surface defined by a function of x and y. My function is rather ...
1
vote
0answers
534 views

PlotLegend Problem

I was using PlotLegend in Mathematica to label different data sets in a plot. But after generating the plot when saved / exported the image in pdf, gif or png ...
0
votes
0answers
19 views

How to substitute functions with numeric values for a model running the variational package?

I have designed and running a model using the variational package. I need to now substitute numeric values and plot the graphs. Can anyone please help or guide with the command input I should be ...
0
votes
0answers
51 views

Contour plot of an interpolated input variable conditionally as functions of other inputs

I have evaluated a function of three variables. Under loops of all three variables a list is generated for the evaluated function. I now like to have an idea how the first input varies in the ...
0
votes
0answers
65 views

Troubleshooting duplicated plots

Everytime I draw a plot (I tried in many different ways and the result is always the same) using the kernel I get it twice. The one I want and a copy. I tried, for example, with this code: ...
0
votes
0answers
45 views

Change the order of magnitude on the y axis Ticks with ListPlot

I have some data plotted with ListPlot. The values on the y axis range from -411230.40068*10^9 to -411230.20005*10^9. Mathematica, when plotting the data, shows me on the y axis only the value ...
0
votes
0answers
41 views

Subset of edges with a different color

I want to color a subset of the edges of my graph with a different color. My graph currently has a large number of edges, so the following is just a toy example ...
0
votes
0answers
35 views

How can I solve this differential equation for some restricted domain and plot the solution for some values of the parameter

I have encountered some problems when solving this DE. I am wondering if anyone could help me point out the mistakes. The question says: Obtain and verify a symbolic solution for ...
0
votes
0answers
87 views

How to add something like a shadow to my resulting figure?

after plotting this function: ...
0
votes
0answers
44 views

Can I specify that Plot or ListPointPlot should place a y-axis on both the LHS and RHS side of a plot?

The title mostly contains the question - how can I specify that Plot or ListPointPlot should place a y-axis on both the LHS and RHS sides of a plot field?
0
votes
0answers
40 views

Plotting a mixture CDF with a truncated distribution in version 7

I'd like to plot the CDF of the following pdf in Mathematica 7: $$f(x)=0.1 g(x)+0.85 m(x)+0.05 h(x)$$ where $$ \begin{array}{ccl} g(x)&:&P(0)=1,\ P(x\neq 0)=0\\ ...
0
votes
0answers
74 views

Fourier transform of a signal

I have problem of finding right answer for my problem. Here is my equation: $$E(t)=\sum_{n=1}^{\infty} c_n \sin\left(\frac{n \pi}{T}t\right)$$ What have I done: I have a notebook asking for 3 ...
0
votes
0answers
124 views

How can I add standard deviation to my plot?

I have a plotted my forecasted and real data in one graph, but I can't figure out how to plot the standard deviation on the same graph. The following is the code I have used: ...
0
votes
0answers
109 views

Copy and pasted graphics are fuzzy

I have a function that creates a 2D line with filling to the axis. When I copy this graphic into word it is very fuzzy, so much so that the numbers and text are almost unreadable, not to mention the ...
0
votes
0answers
101 views

ListPlot and Union related question

This is the question that I got for my assignment: In a square room with 7 m-long sides, five people (black circles) have shot at random people. They all had two bullets and killed two people ...
0
votes
0answers
67 views

Error changing edge thickness in a GraphPlot

I'm having some problems with the Mathematica graphics inspector. I want to make a graph with the following code: ...
0
votes
0answers
174 views

Get data from user CDF

I am just starting with mathematica and need to sift through the things which I need for my project. I plan on developing an application that gets electrical system parameters like R,C,phase ...
0
votes
0answers
171 views

Alignment and Plot size problem in PopupMenu

I have three plots in an OpenerView named "PopupWindow", "MouseOver" . ...
0
votes
0answers
254 views

Unexpected result from contour plot - where is the color gradient?

When I plot a contour plot of my (in)famous code :P I get some unexpected results that I don't quite understand. My code (the one that has ...
-6
votes
0answers
111 views

Extracting points data from a 3D curve surface?

I have a 3D data set, and I have used it to create a 3D plot, but some of the data points are errors and need to be removed. How I can I remove the bad points from the plot? ...

1 2