1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Fine function plot images

  1. Aug 5, 2013 #1
    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 :

    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


    3. The attempt at a solution

    I plotted it and the image is nowhere near what I want..

    Attached Files:

  2. jcsd
  3. Aug 5, 2013 #2

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper

    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.)
  4. Aug 5, 2013 #3
    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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted