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

Home » Public Forums » archive » Problem saving a simple png plot
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Problem saving a simple png plot [message #94933] Tue, 19 December 2017 01:47 Go to previous message
steven.abel is currently offline  steven.abel
Messages: 13
Registered: April 2016
Junior Member
Hi

I am having an issue with saving a png file from a plot with Julian days on the x-axis (IDL 8.2). A very simple example is below


p=PLOT([0,1],[0,1],XRANGE=[5,28],/NODATA,DIMENSIONS=[1400,40 0])
p.SAVE,'test.png'

The above works ok - xrange has small numbers

p=PLOT([0,1],[0,1],XRANGE=[2457981.5,2458004.5],/NODATA,DIME NSIONS=[1400,400])
p.SAVE,'test2.png'

The above doesn't work where xrange now has example Julian days (larger numbers). The png file does not display the axes properly. I have tried playing around with the resolution keywords but this does not seem to help.

Any ideas?

Cheers

Steve
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: text widget example
Next Topic: spam is destroying this group

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

Current Time: Wed Oct 08 09:19:47 PDT 2025

Total time taken to generate the page: 0.00431 seconds