Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#23 set_plot, PS (and SVG) !P.FONT, device, /color, /isotropic

closed
nobody
None
5
2010-02-12
2006-05-26
FeLiNe
No

This is a more general request for an overall beef-up
of the postscript device. As of 0.9pre, ps plots do not
appear to support use of !P.font to use native PS
fonts, device,/color doesn't work, every postscript
plot appears to have an empty page preceding it,
/isotropic doesn't seem to work, many characters come
out funny (like "^" or "_") etc. etc.

I don't know what other people do with idl/gdl but the
ability to generate publication-quality plots that can
be included in a paper strikes me as an important part
of the reason to use this software in the first place.

Let me take the opportunity to extend a heartfelt
thanks to the developers -- this is easily the most
important project I've seen on SF in ages...

Discussion

  • Logged In: NO

    Sure it's a usefull feature that's missing for the moment. One have tell me that I should put colors in my outputs, and it's a thing that I can't do. I hope this will be possible in future versions.

    The error I have with 0.9 version is :
    "Keyword parameter COLOR not allowed in call to: DEVICE"

    And postscript fonts set to 1 doesn't change anything on the outputs characters.

    However, I saw an error typed as the following :(wow, I'm quite sure that my sentence is horrible)
    "plsstrm: Illegal stream number 100, must be in [0, 100]

    *** PLPLOT WARNING ***
    plsdev: Must be called before plinit.

    Plotting Options:
    < 1> xwin X-Window (Xlib)
    < 2> tk Tcl/TK Window
    < 3> ps PostScript File (monochrome)
    < 4> psc PostScript File (color)
    < 5> xfig Fig file
    < 6> hp7470 HP 7470 Plotter File (HPGL Cartridge, Small Plotter)
    < 7> hp7580 HP 7580 Plotter File (Large Plotter)
    < 8> lj_hpgl HP Laserjet III, HPGL emulation mode
    < 9> pbm PDB (PPM) Driver
    <10> null Null device
    <11> tkwin New tk driver
    <12> mem User-supplied memory device
    <13> svg Scalable Vector Graphics (SVG 1.1)"

    And this error gave to me the idea that it would be powerfull tu export graphics into SVG. it appears that plplot can do that so I don't think that it's hard to implement but I say that, and I don't know how to do this so I should be quiet.

    However, it's allready a very powerfull program, and I'm glad to use it instead of using IDL.

     
    • summary: set_plot, PS --> set_plot, PS (and SVG)
     
  • Hello,

    There's an experimental SVG terminal included in the current CVS version.
    It's obtainable via: set_plot, 'svg'
    and relies on the svgcairo PLplot terminal.

    Please test and comment,
    Sylwester

     
    • summary: set_plot, PS (and SVG) --> set_plot, PS (and SVG) !P.FONT, device, /color, /isotropic
     
    • status: open --> closed
     
  • As of GDL 0.9rc4 GDL supports color postscript. Several other improvements in the plotting features were added since 2006. I'm closing this item - please submit any comments as new items.