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

Home » Public Forums » archive » Re: reshaping figure
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: reshaping figure [message #57122 is a reply to message #57120] Sun, 02 December 2007 16:50 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Magician writes:

> I have a code that generates a figure. This code is a black box for me
> ( I am not allowed to modify it). But I am allowed to modify the
> figure. I want to make this figure from rectangle to a square. Also
> chane background to while from black.

How are you planning to "modify" the figure, if you
can't change the code that produces it?

You might try something like this. If the program that
produces the figure is written in a lousy enough way,
it might work:

!P.Background = FSC_Color('white')
!P.Color = FSC_Color('black')
!P.POSITION = Aspect(1.0)

You can find aspect.pro and fsc_color.pro on my
web page in the Coyote Library section.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How to modify my IDL library path?
Next Topic: Removing scroll bars from table widgets

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

Current Time: Wed Oct 08 18:04:04 PDT 2025

Total time taken to generate the page: 0.00444 seconds