Version: 1.1.0_devel (using KDE 3.3.0, compiled sources) Compiler: gcc version 3.3.2 OS: SunOS (sun4u) release 5.8 A feature was introduced recently to allow orthonormal plots. It works well on screen (as measured with kruler), but apparently postscript output is not WYSIWYG as some things are rescaled. At the end, I get a plot that looks a bit distorted in the .ps file, which is actually the one I wanted to use :-( Note that I live in an area where the default paper size is A4, but kst seems to force it to US letter (I can't change it in the print dialog like in other KDE apps). Maybe that's a hint ?
I assume by orthonormal you mean that the axes use the same physical scaling. If so then the orthonormal setting for a plot is a one time thing only. i.e. after setting the axes to be orthonormal if you zom, resize, etc then the setting is discarded. To achieve the orthonormal setting in the printed or exported plot we would need to add a checkbox to the export and print dialog.
On Wednesday 15 December 2004 12:55, Andrew Walker wrote: > To achieve the orthonormal setting in the printed or exported plot we would > need to add a checkbox to the export and print dialog. kstprintoptionspage.h/cpp will help with that.
The better alternative may to provide a checkbox that says something like "maintain aspect ratio" which would give a more WYSIWYG result and automatically retain the "orthonormal" axes if present. If checked the same aspect ratio would be used for the export/print as on the screen, and so the plots may not fill the entire page. Unless I hear otherwise I'll go ahead and implement this.
> ------- The better alternative may to provide a checkbox that says > something like "maintain aspect ratio" which would give a more WYSIWYG > result and automatically retain the "orthonormal" axes if present. If > checked the same aspect ratio would be used for the export/print as on the > screen, and so the plots may not fill the entire page. > > Unless I hear otherwise I'll go ahead and implement this. Where would this go?
There would be checkboxes on the export and print dialogs. On Wednesday 15 December 2004 12:01, George Staikos wrote: > ------- You are receiving this mail because: ------- > You are the assignee for the bug, or are watching the assignee. > > http://bugs.kde.org/show_bug.cgi?id=95212 > > > > > ------- Additional Comments From staikos kde org 2004-12-15 21:01 ------- > > > ------- The better alternative may to provide a checkbox that says > > something like "maintain aspect ratio" which would give a more WYSIWYG > > result and automatically retain the "orthonormal" axes if present. If > > checked the same aspect ratio would be used for the export/print as on > > the screen, and so the plots may not fill the entire page. > > > > Unless I hear otherwise I'll go ahead and implement this. > > Where would this go? > _______________________________________________ > Kst mailing list > Kst@kde.org > https://mail.kde.org/mailman/listinfo/kst
On Wednesday 15 December 2004 15:06, Andrew Walker wrote: > ------- There would be checkboxes on the export and print dialogs. > > > ------- The better alternative may to provide a checkbox that says > > > something like "maintain aspect ratio" which would give a more WYSIWYG Ah ok I understand. I thought by "better alternative" you meant "alternative to putting a checkbox in the print dialog". This is definitely the right approach. I say go for it.
The aspect ratio of the window can now be fixed by the user when printing or exporting to a graphics file. This should also act to fix the aspect ratio of the axes, assuming no major discrepancies in the size of the fonts used.