octave-maintainers
[Top][All Lists]
Advanced

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

Re: Outerposition Patch


From: bpabbott
Subject: Re: Outerposition Patch
Date: Wed, 09 Feb 2011 18:50:41 +0000 (GMT)

On Feb 09, 2011, at 01:26 PM, Konstantinos Poulios <address@hidden> wrote:

At last every piece is in place in order to start implementing the
position/outerposition/tightinset synchronization.

The attached patch provides a consistent calculation of outerposition
when activepositionproperty is set to position.

No differences on the graphical output should be expected since the
calculation of the outerposition in this case doesn't affect the plot
output, _but_ since this patch re-enables the previously disabled
sync_positions code, many regressions are expected. It would be very
useful to have some testing on this patch before I continue to
implement the second half which is the calculation of position when
activepositionproperty is set to outerposition.

Summing up, this patch does:
- position --> outerposition
to be done:
- outerposition --> position

Ben, could you provide some test results or could you give me some
information on Søren's script, like where to find it and how to use
it?

BR

Kostas
 
I"ve made some modifications to Soren's original

I've also written a script to produce a web page for viewing in your browser (also shamelessly plagiarized from Soren's work)

(1) Run dump_demos

> dump_demos plot dump.m png

(2) Run dump.m for each backend. The script will have some syntax errors, so you'll have to debug it.

> graphics_toolkit gnuplot
> close all
> dump
> mkdir gnuplot
> move *.png gnuplot/.

> graphics_toolkit gnuplot
> close all
> dump
> mkdir gnuplot
> move *.png gnuplot/.

(3) Same for matlab.

(4) Run html_compare

(5) load compare_plots.html in your browser

Ben

Attachment: dump_demos.m
Description: Binary data

Select plots to show
##OCTAVE## using ##GNUPLOT##
##MATLAB##
Octave using FLTK
Image width:
Octave using Gnuplot Matlab Octave using FLTK
##PLOT##
##PLOT##
##PLOT##

Attachment: html_compare.m
Description: Binary data


reply via email to

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