<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 10, 2013, at 11:54 PM, Demitri Muna <<a href="mailto:demitri.muna@gmail.com">demitri.muna@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 10, 2013, at 3:21 PM, Perry Greenfield <<a href="mailto:stsci.perry@gmail.com">stsci.perry@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span style="font-family: 'Gill Sans'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; display: inline !important; float: none; ">Have you looked at ginga?</span><br style="font-family: 'Gill Sans'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "></blockquote></div><div><br></div><div>I did a little while ago, but the installation process was so daunting on my Mac that I never ran it. I don't get the impression that things have changed.</div></div></blockquote><div><br></div><div>Hi Demitri,</div><div><br></div><div>I'm using Ginga on Mac and it works great.</div><div><br></div><div>Installing GUI packages is always a daunting task, but becomes easy when using a package manager.</div><div><br></div><div>To use Ginga on Mac, you can install Macports following the instructions at <a href="http://www.macports.org">http://www.macports.org</a> and then execute these commands to install Qt GUI:</div><div><br></div><div>sudo port install py27-pyside py27-astropy py27-pip</div><div><br></div><div>Then install Ginga:</div><div><br></div><div>pip-2.7 install ginga --user</div><div><br></div><div>Or use Python 3 if you prefer, that works as well.</div><div><br></div><div>Christoph</div><br><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><div>On Sep 10, 2013, at 3:27 PM, Tim Jenness <<a href="mailto:tim.jenness@gmail.com">tim.jenness@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">pyast is designed for this. The Plot classes are specifically there to support what you are asking. You define a Plot and then a mapping from your world coordinates to the plot window. It goes both ways so supports the feedback of you getting an ra/dec from a position on the plot as well as putting markers and lines on the plot using ra/dec.</blockquote></div><div><br></div><div>Any simple example code? This has to be one of the simplest examples I can think of.</div><div><br></div><div><br></div><div><div>On Sep 10, 2013, at 3:32 PM, William Schoenell <<a href="mailto:wschoenell@gmail.com">wschoenell@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">There is some effort on developing a matplotlib-compatible API to do these plots... I saw few weeks ago but did not tried. Take a look on this link: <a href="https://github.com/astropy/astropy-api/blob/master/wcs_axes/wcs_api.md">https://github.com/astropy/astropy-api/blob/master/wcs_axes/wcs_api.md</a></blockquote></div><div><br></div><div>That looks good (my problems with matplotlib notwithstanding), but `import from __future__` doesn't actually work like that. :)</div><div><br></div><div><div>On Sep 10, 2013, at 4:18 PM, David Shupe <<a href="mailto:shupe@ipac.caltech.edu">shupe@ipac.caltech.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">My first thought was APLpy: <a href="http://aplpy.github.io/">http://aplpy.github.io</a></blockquote><br></div><div>We have a winner! APLpy takes it for ease of installation (normal process) and clear examples on the web site.</div><div><br></div><div>import aplpy</div><div>gc = aplpy.FITSFigure('V1.fits')</div><div>gc.show_grayscale()</div><div>gc.show_markers(187, -72.73, edgecolor='red', facecolor='red', marker='o', s=10, alpha=0.8)</div><div><br></div><div>Would have preferred that ra/dec were named parameters, but that's just being picky.</div><div><br></div><div>Cheers,</div><div>Demitri</div><br><div apple-content-edited="true">
_________________________________________<br>Demitri Muna<br><br>Department of Astronomy<br>Ohio State University<br><br><a href="http://scicoder.org/">http://scicoder.org/</a><br><br><br><br>

</div>
<br></div>_______________________________________________<br>AstroPy mailing list<br><a href="mailto:AstroPy@scipy.org">AstroPy@scipy.org</a><br>http://mail.scipy.org/mailman/listinfo/astropy<br></blockquote></div><br></body></html>