[AstroPy] how to mark spectral lines in matplotlib?

gonghang.naoc ghang.naoc at gmail.com
Sun Dec 15 21:52:13 EST 2013


Hi Miguel,
Thank you.I have made a figure with lineid_plot successfully.
Regards,
hang


On Mon, Dec 16, 2013 at 12:02 AM, Miguel de Val-Borro <
miguel.deval at gmail.com> wrote:

> Hi Hang,
>
> On Sun, Dec 15, 2013 at 11:52:24PM +0800, gonghang.naoc wrote:
> > Hi,
> > Thank you. The method 'annotate' works.
> > I tried pip to install  module lineid_plot but failed.
> > My python environment is messed up now. I downloaded the  tar.gz file
> > lineid_plot-0.2.tar.gz ,then
> > $python setup.py
> > usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
> >    or: setup.py --help [cmd1 cmd2 ...]
> >    or: setup.py --help-commands
> >    or: setup.py cmd --help
> >
> > error: no commands supplied
> >
> > However since 'annotate' works well, I will use  this general way.
>
> It looks like you also need to to provide the setup command, for
> instance
>
> python setup.py install
>
> will build and install the module from the source code.
>
> Regards,
> Miguel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20131216/e58da4ec/attachment.html>


More information about the AstroPy mailing list