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

Home » Public Forums » archive » Re: Making a ginormous 54 panel 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
Re: Making a ginormous 54 panel plot... [message #73828 is a reply to message #73826] Wed, 01 December 2010 13:57 Go to previous messageGo to previous message
OUWxGuesser is currently offline  OUWxGuesser
Messages: 7
Registered: October 2010
Junior Member
Sadly, the big array is too large for the memory. When I use the TV
route and try to TVRD at the end, it spits out "TVRD: An error has
occurred. Unable to complete command."





On Dec 1, 2:49 pm, "Kenneth P. Bowman" <k-bow...@null.edu> wrote:
> In article
> < 5d27124d-2a89-4667-b024-dd293bda5...@f21g2000prn.googlegroup s.com >,
>
>
>
>  OUWxGuesser <aaron.kenn...@und.nodak.edu> wrote:
>> Here's the deal.  I have 54 .png plots I want to combine into a 9x6
>> panel plot in IDL.  Native resolution for each image is 1000x700
>> pixels.  This exceeds the maximum buffer size of 8192x8192.
>
>> No problem... I use congrid and shrink everything to 90% of the
>> original size which gives me a final image size of 8100x3780.
>
>> In my code, I first specify the window as:
>> p=window(dimensions=[8100,3780])
>
>> I then loop through the files I need to panelize (or is it
>> penalize? :) )  and place them in the appropriate places.  This
>> works.
>
>> The issue I have is IDL does not listen to my dimensions for the
>> original window! Instead, it creates a window that is 8192x2632.
>> This creates large whitespace between the columns and shrinks the
>> individual panels beyond the original 90% of the original size I
>> specified.  This makes things tough to read which defeats the
>> purpose... I want to place these plots on a poster for a conference.
>> My alternative *cringe* is to use GIMP to cut and paste the 54 plots
>> manually.  Yikes!
>
>> I have tried messing with the buffer settings thinking this might be
>> the source of the problem, but I just end up getting  MESA frame
>> buffer errors and in some cases, IDL crashes to the desktop with no
>> warning. If anyone has any suggestions or assistance, I'd greatly
>> appreciate it!
>
> Why are you opening a window?
>
> Can't you just read the PNG files, concatenate or copy them
> into your big array, then write the array out as a new PNG.
>
> Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: problem calling histoplot
Next Topic: Re: Negative array indices

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

Current Time: Wed Oct 08 17:29:19 PDT 2025

Total time taken to generate the page: 0.00384 seconds