X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Oct 2022 09:04 AM by  Ben Castellani
Possible bug in "position" property in graphics objects
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Peter Montag



New Member


Posts:
New Member


--
02 Sep 2022 06:01 AM
    While working with some custom plotting routines, I found that setting the position property of a plot does not work as expected. Rather than the plot moving to those coordinates, it instead move something like 2/3 of the way there. For example,

    p=plot([0,1],[0,1])
    p.position = [0.0, 0.0, 0.5, 0.5]
    p.position = [0.5, 0.0, 1.0, 0.5]

    will give a plot positioned at [0.314, 0.0, 0.814, 0.5]. Does anyone know what's happening here? Is this intended behavior?


    Ben Castellani



    Basic Member


    Posts:130
    Basic Member


    --
    07 Oct 2022 09:04 AM
    Thanks Peter. This is not the intended behavior and actually appears to be a manifestation of a known bug (which is not as simply occurring). There's no ETA on a fix, but the reference number for the bug is...

    IDL-68854: New Graphics: Repeatedly changing position to same value moves the graphic
    You are not authorized to post a reply.