octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: opengl and images (was: Re: fltk backend fix & mouse wheel scroll fa


From: Shai Ayal
Subject: Re: opengl and images (was: Re: fltk backend fix & mouse wheel scroll factor)
Date: Sat, 3 Oct 2009 09:55:29 +0200

On Thu, Oct 1, 2009 at 9:21 PM, John W. Eaton <address@hidden> wrote:
>  image (rand (8, 10, 3))
>  set (gca, 'xlim', [2, 4])
>
> I would expect something like the first image attached below
> (generated with the gnuplot backend), but I get the second.  Oddly,
> the axis is resized to fill the screen if the window is refreshed (by
> placing another window on top of it then uncovering it, for example).
> I'm not sure what the proper fix is.  Any clues?

I attach a changeset to fix these issues -- It clips the image
according to axes limits. It also fixes the limits of the image object
to take into account the real size of the image

Shai

Attachment: image_fixes
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]