comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Let's get it right - Plotting ans Saving
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Let's get it right - Plotting ans Saving [message #93359] Wed, 22 June 2016 21:16
belkaraza is currently offline  belkaraza
Messages: 6
Registered: June 2016
Junior Member
Hey,
I'm new to IDL and I have some problems regarding plotting and saving these as ps files.
For example, findgen(9).
First let me explain what I expect how my plot should look like:
I want the graph with no or small borders. So I can use it easily in Latex without using pdfcrop to cut off the edges manually, because I want to generate several thousand plots.
Let's say I want to plot and save findgen(9) via new graphics

P = plot(findgen(9))
P.save, 'test.ps', resolution=600, Border=0

Then my output graph will be located in the bottom right side pf the graphics region. The right end of the x axis will be nearly pushed back outside the "file". I tried it with various functions ans sometimes the last x tick name will ger cut off. I tried this with and without the border keyword, but it won't make any difference. Only if I set the resolution to values around 2000-3000 it will not be cut off. But I still have this large white area above my graph.
How could I accomplish my expected result with direct graphics? I am totally irritated on how to find the correct xy margins, offsets etc. maybe one of you knows of a good tutorial or guide :)

Cheers,
Kevin
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: WHERE command returning -1 even if matching is there
Next Topic: Re: satellite field of view pole projection

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 07:14:26 PDT 2025

Total time taken to generate the page: 0.00426 seconds