[GRASS-dev] numeric-numpy-scipy for graphs?

Michael Barton michael.barton at asu.edu
Sun Apr 22 13:26:39 EDT 2007


Thanks Hamish,

In fact, we can do considerably more now with the wxPython (and TclTk)
drawing commands to than is available in d.graph or d.linegraph, even with
your nice enhancements.

In the case of histogramming and profiling, it seems a better display to
have them come up in a separate window (like is now the case with the TclTk
profiling module) than have them rendered like a map in the main display
(like we do now for d.histogram in the current TclTk GUI). Rendering maps is
complex and it doesn't seem efficient to have to go through the same complex
procedures to draw a histogram or profile that doesn't need to be drawn
georeferenced.

For this reason, it seems better to do these kinds of analyses with the gui
tools, using underlying GRASS modules like r.profile and r.stats.

Michael


On 4/22/07 2:54 AM, "Hamish" <hamish_nospam at yahoo.com> wrote:

> Michael Barton wrote:
>> We need to create a graph/plot for at least 2 functions in the wxgrass
>> GUI‹profile plotting and histogramming. I did the TclTk profile module
>> with just standard graphic calls. However, wxPython has a very nice
>> plot control:PyPlot. It has lots of nice options, including ways to
>> save the plot easily.
> 
> maybe you are looking for something more advanced, but can it be done
> with d.graph and/or d.linegraph? I've never actually used d.linegraph,
> but would be willing to help bring it up to speed if it is useful but
> for a few small rendering issues.
> 
> 
> Hamish
> 
> 

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton






More information about the grass-dev mailing list