This question was just asked by someone else on sage-newbie.
In gsl/dft.py there is a plot_histrogram function. Other people
suggested other options in the htread though.
On Jan 21, 2008 10:43 AM, David Kohel <[EMAIL PROTECTED]> wrote:
>
> Apologies if this is double-sent; I thought I sent it already but
> don't find the submission.
>
> Suppose I have a discrete function, as at the bottom (in this case a
> frequency distribution).
> Does anyone have a good example for producing a bar graph? Ideally I
> would like both latex
> and some graphical output.
>
> --David
>
> {A: 0.0910352484041100,
> B: 0.00846516791562588,
> C: 0.0292811545933943,
> D: 0.0368442964196501,
> E: 0.164029975020817,
> F: 0.00707743547044131,
> G: 0.00832639467110743,
> H: 0.00832639467110743,
> I: 0.0729947266167089,
> J: 0.00804884818207051,
> L: 0.0504440743824588,
> M: 0.0360810435747986,
> N: 0.0716069941715242,
> O: 0.0600888148764915,
> P: 0.0253261171246183,
> Q: 0.0135997779628087,
> R: 0.0700804884818210,
> S: 0.0690396891479325,
> T: 0.0702192617263395,
> U: 0.0659866777685262,
> V: 0.0227588121010268,
> X: 0.00381626422425756,
> Y: 0.00215098529003608,
> Z: 0.00437135720233139}
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---