From: Joao C. <jc...@fe...> - 2002-10-25 22:38:58
|
On Friday 25 October 2002 22:45, Alan W. Irwin wrote: > On Fri, 25 Oct 2002, [iso-8859-1] Jo=E3o Cardoso wrote: > > Please see it at: > > > > http://plplot.sourceforge.net/nexamples/ > > > > (notice, I have not changed the originals, the name is nexamples, not > > examples) > > > > The procedure was somewhat automated, so some things are not yet OK. > > I think that it is much better now. What do you think? > > I think this organization is much better than what we currently have in > examples. However, I have some additional comments/questions. > > (1) If we change the example source in CVS will the source you show on = the > web site also be automatically changed or will that be a maintenance > problem? Of course the web site must be updated! > > (2) Same question for the images. I ask this because right now keeping= the > images in sync with the CVS software is a maintenance problem, and it w= ould > be nice if that were more automated, i.e., a script to generate say all= the > C examples as png images on your home machine (a cut-down version of > plplot-test.sh) and update the website appropriately like what we do fo= r > the documentation, now. I created a script to automate things. After configure, make, make cdemos= , in=20 the plplot tmp directory, the script will generate the pictures and=20 thumbnails and populate another tree with both the source examples, the=20 thumbnails and the pictures. Thus, there is no need to keep the sources,=20 pictures and thumbnails in CVS. The script is of course crude. I attach it at the end. If the examples change (more generated pages, e.g.), then the index.php m= ust=20 be hand-edited. > > (3) The full-size images are fine, but the thumb-nail images are largel= y > just a black square on both konqueor and mozilla. It didn't look like that to me... and thumbnails of plots can't be like=20 thumbnails of images. > To get the lines to show > for the thumbnails perhaps you need a wider pen width? I don't think so, but you can try. Anyway, I must now "publish or die", s= o I=20 don't have the time. Joao > The png device > honors pen width requests if you have libgd version 2 installed. > > Alan |