Register to reply

Fine function plot images

by hangainlover
Tags: fine, function, images, plot
Share this thread:
hangainlover
#1
Aug5-13, 12:24 AM
P: 83
1. The problem statement, all variables and given/known data
Hello everyone,

I was trying to plot (density plot and 3d plot) Hermite Gaussian polynomials on Mathematica hoping the plot will be good enough to show patterns such as this link :
http://upload.wikimedia.org/wikipedi...e-gaussian.png

Yet, my plot on mathematica is very crude.

It follows the pattern so the function itself must be fine

I doubt this is the best I can do with mathematica..



2. Relevant equations

None

3. The attempt at a solution

I plotted it and the image is nowhere near what I want..
Attached Files
File Type: nb hermite gaussian.nb (81.4 KB, 7 views)
Phys.Org News Partner Science news on Phys.org
NASA team lays plans to observe new worlds
IHEP in China has ambitions for Higgs factory
Spinach could lead to alternative energy more powerful than Popeye
Simon Bridge
#2
Aug5-13, 02:25 AM
Homework
Sci Advisor
HW Helper
Thanks ∞
Simon Bridge's Avatar
P: 12,406
Attached file viewable for people with mathematica access.

The kinds of plots in the wikimedia pic are hi-res projections - where the greyscale "whiteness" depends on the density in each area element. (Divides the volume into cubic prisms.)
Bill Simpson
#3
Aug5-13, 02:09 PM
P: 1,028
Try adding
PlotPoints -> 200
to your DensityPlot and see if that provides the quality you are looking for.

When using Export you might also look at the effect of ImageResolution.

A general rule you might keep in mind that seems to be proven again and again.

If it takes about x time to get the mathematics mostly correct then it can often take between 2x and 10x MORE time to get the graphics to sort of look like the quality that desktop publishing has convinced everyone that they should be able to produce on their own and to get the graphics to look exactly like what you want can often take up to Infinityx more time.


Register to reply

Related Discussions
Matlab- Function for select and use images Math & Science Software 1
Plot diff plot from a periodic function Math & Science Software 0
Method of Images - Green's Function Differential Equations 1
[matlab] I just want to plot a function that describes position as a function of time Math & Science Software 2
Green's Function using method of images Calculus & Beyond Homework 0