On Wednesday, July 8, 2009 at 11:23:23 (+0100) Andrew Ross writes:
 > 2) When I tried to create a .pal file I realised that the current file
 > format assumes that the position value is an integer in the range 0-100,
 > whereas plplot actually uses a PLFLT in the range 0-1. This might not
 > be significant for most purposes, but for example I sometimes use
 > continuous colour scales with a narrow band of values picked out in a 
 > different colour, either for emphasis or for ensuring that values around
 > zero are white. The resolution offered by the .pal files might not be
 > sufficient and I would rather not saddle us with something now that might
 > cause problems later on. I think the original reason was that tk provided 
 > poor float support. Let's not saddle the rest of plplot with that.

Indeed.  At the time that was written TK scale widgets only supported integer
values, so I used integers in the 0-100 range for simplicity.  It should
really be floating point however.  And TK scale widgets apparently support
that now so in principle the TK support could be made compatible with the new
format file.

-- 
Maurice LeBrun

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to