plot image with axes

Help
alex
2014-05-26
2014-05-26
  • alex

    alex - 2014-05-26

    Hi all,
    I use GDL 0.9.2 in Ubuntu 12.04.
    I need to plot images with axes (spectra with coordinates time/frequency).

    I tried to use Slug's IDL code, according his tutorial in http://slugidl.pbworks.com/w/page/33667205/Displaying%20Images%20and%20Positioning%20your%20Plots, but I can see just images without axes.

    I tried to use PLOTIMAGE http://www.astro.washington.edu/docs/idl/cgi-bin/getpro/library26.html?PLOTIMAGE but, trying to execute the example they suggest, it causes my GDL session to crash, with the following error:
    gsl: interp.c:38: ERROR: insufficient number of points for interpolation type
    Default GSL error handler invoked.
    Aborted (core dumped)

    TVIM does not seem to draw any axis.

    Is it possible to plot images with axes in GDL?
    If yes, could you give me some hints how to proceed?

    thanks,
    Alex

     
    Last edit: alex 2014-05-26
  • giloo

    giloo - 2014-05-26

    Hello,
    Acutally the Slug's IDL examples work with GDL-0.9.4, so you may want to update your version of GDL.
    The PLOTIMAGE procedure puts into light a bug in GDL (in INTERPOLATE) that needs to be solved.
    What is TVIM?
    Thanks for the report.

     
  • alex

    alex - 2014-05-26

    Hi,
    thank you for your reply.

    Here follows the link to TVIM:
    http://www.astro.washington.edu/docs/idl/cgi-bin/getpro/library28.html?TVIM

    In order to update to GDL-0.9.4 do I have to compile the tarball from scratch or is it possible to use the ordinary update Ubuntu commands (i.e. apt-get update, apt-get upgrade gnudatalanguage)?

    thanks,
    Alex

     
  • giloo

    giloo - 2014-05-26

    I presume 0.9.4 being around for half a year should be available in some distributions. Rebuilding from the tarball or the cvs is more interesting (the distro versions are not optimized) but can be painful...

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks