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?
|