SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: David A. <zer...@gm...> - 2009年05月19日 18:33:54
Hi, I've seen some examples with it, but I couldn't find any docs about it,
Is there any? If not Where Can I get the source code for it to take a look?
Another thing, what about this example:
http://matplotlib.sourceforge.net/examples/pylab_examples/plotfile_demo.htmlWhere
can I get the csv files used on it ?
Thanks!
-- 
David Anderson Lino de Sousa
Undergraduate in Computer Science -
http://ccc.ufcg.edu.br/index.php/Main_Page
Embedded Systems and Pervasive Computing Lab - http://embedded.ufcg.edu.br
Systems and Computing Department - http://www.dsc.ufcg.edu.br
Federal University of Campina Grande - http://www.ufcg.edu.br
From: Ryan M. <rm...@gm...> - 2009年05月19日 19:05:58
On Tue, May 19, 2009 at 1:33 PM, David Anderson <zer...@gm...>wrote:
> Hi, I've seen some examples with it, but I couldn't find any docs about it,
> Is there any? If not Where Can I get the source code for it to take a look?
> Another thing, what about this example:
> http://matplotlib.sourceforge.net/examples/pylab_examples/plotfile_demo.htmlWhere can I get the csv files used on it ?
> Thanks!
Welcome! Not to be too blunt, but if you click on the "documentation" link
on page you gave, you'd get a link here, which is the main documentation
page: http://matplotlib.sourceforge.net/contents.html
Also, you can take the page you gave and click on the "matplotlib home"
link, you'd see you can get the source here:
http://sourceforge.net/projects/matplotlib
Ryan
-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
Sent from Norman, Oklahoma, United States
From: David A. <zer...@gm...> - 2009年05月19日 19:09:40
In the documentation page there's no info about .finance, even looking on
the search tool I couldn't find anything:
http://matplotlib.sourceforge.net/search.html?q=finance&check_keywords=yes&area=default
About the code, I found it =)
On Tue, May 19, 2009 at 4:05 PM, Ryan May <rm...@gm...> wrote:
> On Tue, May 19, 2009 at 1:33 PM, David Anderson <zer...@gm...>wrote:
>
>> Hi, I've seen some examples with it, but I couldn't find any docs about
>> it, Is there any? If not Where Can I get the source code for it to take a
>> look?
>> Another thing, what about this example:
>> http://matplotlib.sourceforge.net/examples/pylab_examples/plotfile_demo.htmlWhere can I get the csv files used on it ?
>> Thanks!
>
>
> Welcome! Not to be too blunt, but if you click on the "documentation" link
> on page you gave, you'd get a link here, which is the main documentation
> page: http://matplotlib.sourceforge.net/contents.html
>
> Also, you can take the page you gave and click on the "matplotlib home"
> link, you'd see you can get the source here:
> http://sourceforge.net/projects/matplotlib
>
> Ryan
>
> --
> Ryan May
> Graduate Research Assistant
> School of Meteorology
> University of Oklahoma
> Sent from Norman, Oklahoma, United States
-- 
David Anderson Lino de Sousa
Undergraduate in Computer Science -
http://ccc.ufcg.edu.br/index.php/Main_Page
Embedded Systems and Pervasive Computing Lab - http://embedded.ufcg.edu.br
Systems and Computing Department - http://www.dsc.ufcg.edu.br
Federal University of Campina Grande - http://www.ufcg.edu.br
From: John H. <jd...@gm...> - 2009年05月19日 19:21:53
On Tue, May 19, 2009 at 2:09 PM, David Anderson <zer...@gm...> wrote:
> In the documentation page there's no info about .finance, even looking on
> the search tool I couldn't find anything:
> http://matplotlib.sourceforge.net/search.html?q=finance&check_keywords=yes&area=default
>
> About the code, I found it =)
I wrote the finance module a long time ago to make some basic
financial charts, but I haven't updated it and I don't think it is the
best way to go. But when I wrote it I wasn't in the financial
industry and now I am so maybe my standards are higher :-)
 You can get help from matplotlib.finance -- we haven't uploaded all
the module docs to the site documentation yet because there are some
formatting issues with the docstrings nad we are doing them as we get
to them. In the meantime, use the ipython shell
 import matplotlib.finance
 help matplotlib.finance
Also, see the code examples
 http://matplotlib.sourceforge.net/search.html?q=finance+codex
JDH
From: David A. <zer...@gm...> - 2009年05月19日 19:34:03
Nice, and thanks, I'm making the charts just to my own purposes, and hopelly
use it as my Graduation ending job (I don't know ow to say this in english,
basically is the app that you deliver before getting the degree), and I wish
to improve the api, by now this is the best api to plot financial charts in
python, do you know any better? I Want to make something like the
www.advfn.com, but leave to the user to add it's own studies. I am
brazilian, and yahoo finances don't give historical quotes for my country,
I'll have to adapt to get the quotes from a bunch of csv files. Can you
suggest anything to me? =) Thanks!
On Tue, May 19, 2009 at 4:21 PM, John Hunter <jd...@gm...> wrote:
> On Tue, May 19, 2009 at 2:09 PM, David Anderson <zer...@gm...>
> wrote:
> > In the documentation page there's no info about .finance, even looking on
> > the search tool I couldn't find anything:
> >
> http://matplotlib.sourceforge.net/search.html?q=finance&check_keywords=yes&area=default
> >
> > About the code, I found it =)
>
> I wrote the finance module a long time ago to make some basic
> financial charts, but I haven't updated it and I don't think it is the
> best way to go. But when I wrote it I wasn't in the financial
> industry and now I am so maybe my standards are higher :-)
>
> You can get help from matplotlib.finance -- we haven't uploaded all
> the module docs to the site documentation yet because there are some
> formatting issues with the docstrings nad we are doing them as we get
> to them. In the meantime, use the ipython shell
>
> import matplotlib.finance
> help matplotlib.finance
>
> Also, see the code examples
>
> http://matplotlib.sourceforge.net/search.html?q=finance+codex
>
> JDH
>
-- 
David Anderson Lino de Sousa
Undergraduate in Computer Science -
http://ccc.ufcg.edu.br/index.php/Main_Page
Embedded Systems and Pervasive Computing Lab - http://embedded.ufcg.edu.br
Systems and Computing Department - http://www.dsc.ufcg.edu.br
Federal University of Campina Grande - http://www.ufcg.edu.br
From: John H. <jd...@gm...> - 2009年05月19日 19:40:36
On Tue, May 19, 2009 at 2:33 PM, David Anderson <zer...@gm...> wrote:
> Nice, and thanks, I'm making the charts just to my own purposes, and hopelly
> use it as my Graduation ending job (I don't know ow to say this in english,
> basically is the app that you deliver before getting the degree), and I wish
> to improve the api, by now this is the best api to plot financial charts in
> python, do you know any better? I Want to make something like the
> www.advfn.com, but leave to the user to add it's own studies. I am
> brazilian, and yahoo finances don't give historical quotes for my country,
> I'll have to adapt to get the quotes from a bunch of csv files. Can you
> suggest anything to me? =) Thanks!
I don't know a better package for plotting financial data -- mpl works
just fine. It's just that the API for the matplotlib.finance module
could be better. I would prefer something designed around record
arrays with attrs 'date', 'open', 'high', 'low', 'close', 'volume'.
Take a look at the examples I pointed you to - some of them make
financial graphs w/o using the finance module.
As for CSV files, take a look at matplotlib.mlab.csv2rec (see also the
examples at)
http://matplotlib.sourceforge.net/search.html?q=codex+csv2rec
JDH
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /