Claude Bélanger wrote:
> Hi,
> 
> How should I compute the ratio for pd 'aspect ...' on different screens at
> different resolutions.
> 
> On a ASUS M70Vseries Notebook PC, 17" Display WXGA+ with a screen resolution
> of 1280 x 720,  I use a ratio of 0.9, trial and error.
> 
> Thanks in advance.
> 
> Claude Bélanger
> [email protected]
> 
> 
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 

I must not understand the use of "pd 'aspect n'".  My notebook computer dual
boots Vista 32 and OpenSUSE Linux 64.  Under Vista, a pie plot is very close to
being perfectly round.  I tried using "pd 'aspect 2'" to distort the plot and it
came out exactly as before.

I tried the same test on Linux.  SaX2 shows that my screen is 331 mm by 207 mm,
which I verified via ruler.  SaX2 also shows the Aspect Ratio as 1.6.  The
Aspect Ratio based on the measured screen size is 1.599.  The Aspect Ratio based
on the screen dimensions of 1280x768 pixels is 1.667.  The Aspect Ratio based on
single pixel size is 0.959.

My pie plot using J602 was initially a small percentage taller than wide.  I 
noticed that the screen pixel dimensions that Linux had used were not the 
native 
dimensions of 1280x800.  I updated SaX2 to use 1280x800.  This corrected the 
proportions of the pie plot, which was now circular.  The single pixel aspect 
ratio for 1280x800 is 1.

I could not get "pd 'aspect n'" to make any difference in the proportions of 
the 
pie chart, in Linux or Windows.

Can anyone demonstrate the use of "pd 'aspect n'"?

--
Thanks,
David Mitchell

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to