On 2020-06-12 13:44-0400 Baumgardner, John R (Mechanical Engineering) wrote:
Hi Alan,I am seeking to utilize the third-party Plplot binary package available on the Ubuntu 18.04 Linux distribution with Fortran. My application compiles with gfortran and link with all the required libraries with no errors or warnings. However, the plots that are generated for all the file formats under Cairo and qt and also svg have all the B&W features correct but have no color. Yet I do get the correct color features for xwin and color PostScript. Might you be able to diagnose what might be awry, based on this brief summary?
Hi John: I have never experienced such a no-colour symptom with some but not all of the Plplot device drivers. Therefore, I am forwarding your question to the Plplot list to see if anyone there has ever had similar experience on Ubuntu or any other platform. To check if there is some peculiar Ubuntu packaging error, what are your results for a PLplot version that you build yourself? [Our wiki](https://sourceforge.net/p/plplot/wiki/Home/) should have all the information you require to make such a build. However, for this build please do the following: # Download Plplot-5.15.0 as per wiki instructions. # Configure the PLplot build with cmake as per wiki instructions. cmake ... # Build the C "00" example. make x00c # Build the svg device make svg # Create a plot with that device examples/c/x00c -dev svg -o test.svg Then assuming that test.svg result has no colour for however you view it on your system, please send that test.svg result to this list to see whether it has colour when we display it with our own SVG viewers. I have just gone through the above process myself (for the latest git version of PLplot rather than 5.15.0, but I don't think that will make a difference), and I have attached the test.svg file that I generate here with the above commands. The correct colour (red lines and letters on black background) shows up both for my favorite SVG viewer (pqiv) as well as firefox (which can also be used as a SVG viewer by simply typing the complete pathname of the file in the URL box). When you display that file on your system with your favorite SVG viewer, is the correct colour displayed there? Alan __________________________ Alan W. Irwin Research affiliation with the Department of Physics and Astronomy, University of Victoria, Victoria, BC, Canada. Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________
_______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general