From: Joao C. <jc...@fe...> - 2002-10-25 23:00:19
|
On Friday 25 October 2002 23:42, Joao Cardoso wrote: > 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, n= ot > > > examples) > > > > > > The procedure was somewhat automated, so some things are not yet OK= =2E > > > 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 o= n > > the web site also be automatically changed or will that be a maintena= nce > > problem? > > Of course the web site must be updated! > > > (2) Same question for the images. I ask this because right now keepi= ng > > the images in sync with the CVS software is a maintenance problem, an= d it > > would 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 ver= sion > > of plplot-test.sh) and update the website appropriately like what we = do > > for the documentation, now. > > I created a script to automate things. After configure, make, make cdem= os, > in the plplot tmp directory, the script will generate the pictures and > thumbnails and populate another tree with both the source examples, the > thumbnails and the pictures. Thus, there is no need to keep the sources= , > 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 > must be hand-edited. > > > (3) The full-size images are fine, but the thumb-nail images are larg= ely > > 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 > thumbnails of images. humm, as a matter of fact in my home monitor the plots looks like fadding= --=20 so we have another API entry, plfade() :-) Joao > > > 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",= so > I don't have the time. However I can CVS commit the index.php files, and the script to populate = a www=20 directory. Shall the old examples files be CVS removed? The index.php files must still be filled with the standard left navigatio= n=20 links and be more html-conformant; the x14 and x17 examples should be rem= oved=20 from examples.html; etc... other comments? Joao > > Joao > > > The png device > > honors pen width requests if you have libgd version 2 installed. > > > > Alan |