[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FLTK limits/position weirdness
From: |
Michael Goffioul |
Subject: |
Re: FLTK limits/position weirdness |
Date: |
Fri, 7 May 2010 21:13:46 +0100 |
On Sun, May 2, 2010 at 12:41 AM, Ben Abbott <address@hidden> wrote:
> On May 1, 2010, at 3:33 PM, Shai Ayal wrote:
>
>> On Sat, May 1, 2010 at 7:20 PM, Ben Abbott <address@hidden> wrote:
>>> The commands below, change the plotbox size to half that specified by the
>>> "position" property.
>>>
>>> backend fltk; close all; axis ([0 1 0 1]); axis([0 .5 0 .5])
>>>
>>> I tried looking through the sources, but couldn't locate where this problem
>>> is.
>>>
>>> Ben
>>>
>>
>> It looks OK to me. Can you explain the problem better (screenshot?)
>>
>> Shai
>
> I've attached plots for the two examples below.
>
> backend fltk; close all; axis ([0 1 0 1]); axis([0 .5 0 .5])
>
> backend fltk; close all; axis ([0 1 0 1]); axis([0 2 0 .5])
>
> When setting the axis limits, the plotbox is scaled such that the pixels/data
> remains constant.
I also see the same behavior (Windows/MSVC). My first impression is that
the transformation matrices are not updated on the second axis call, but
I didn't check in details.
Michael.
Re: FLTK limits/position weirdness, Ben Abbott, 2010/05/01