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

Home » Public Forums » archive » Confused about image dimensions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Confused about image dimensions [message #91075] Mon, 01 June 2015 08:27 Go to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
Hi,
maybe I'm missing something very basic...
Suppose I make an image with these commands:
w = window(dimension=[600,600])
i = image(dist(600), margin=0, image_dimensions=[100,100], current=w)

The idea is that the image has 600x600 pixels, but the units are 100x100.
So each pixel (device units) has a size of 6.

If I now change the data:
i.setData, dist(300)

It turns out that the "image does not change" (in appearance) and not the 300 pixel correspond to 100 units. So that the pixel has a size of 3 units.

Can I redefine, after the setData, the image_dimensions?

I did notice that the "image_dimensions" keyword is under the "Keywords are applied only during the initial creation of the graphic." part of the help. Just looking for a way around this.

Thanks,
Helder
[Message index]
 
Read Message
Read Message
Previous Topic: Writing each filename into new line of text file
Next Topic: Modal dialog missing close button on Linux

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

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

Total time taken to generate the page: 0.00448 seconds