Re: plot an histogram

Hi Ricardo,

> I need to plot an histogram... When I make a normal plot I get some 
> spikes I don't like...  The idea is to have some sort of boxes 
> representing my data instead of just lines crossing points.
> 
> I can do this by adding more points to my flatField but before to proced 
> I would like to know If somebody have thought and solved this problem 
> before, or if visad includes this kind of plot.

Check out visad/python/hist_test.py for a very simple VisAD
Python program for plotting a histogram (in this case, a 2-D
histogram). This Python program uses the makeHistogram()
method of visad/math/Histogram.java. It makes histograms
pretty easy.

Cheers,
Bill


  • 2001 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: