On 2007-01-27 14:23+0800 Valery Pipin wrote: > Sorry I didnot ask clearly. > Alan W. Irwin wrote: >> On 2007-01-27 12:47+0800 Valery Pipin wrote: >>> I can not get it working from command line >>> I use "python pli.py -dev psttf -o intm1.ps -portrait". > Is this a correct line?
Yes, once PLplot is installed, and you let python know where the PLplot python modules are installed, that is the correct way to call a python script with PLplot command-line options. But first things first; get the PLplot install working (see previous e-mail) before worrying about this. > > another question was > how to get \mathcal{E} with pstff driver I can highly recommend the gucharmap application which allows you to look at all unicode blocks and how your installed system fonts look for those blocks. For example, I have the cmsy10 TrueType font (which is a TrueType representation of the Latex math symbol fonts) installed on my system, and indeed when I switch to viewing that with gucharmap it looks like the calligraphic version of characters are in the normal latin alphabet places. So if you render an upper case E with the cmsy10 TrueType font, it appears you will get what you want. First, make sure the cmsy10 TrueType font is installed on your system. After that take the following PLplot steps: (a) specify the TrueType font cmsy10 as one of the 30 fonts that can be described by an FCI; (b) embed that FCI (Font Characterization Integer) in your string to change to that font; (c) follow that FCI in the string with an "E"; and (d) follow that "E" with another FCI to change back to your original string font. See http://plplot.sourceforge.net/docbook-manual/plplot-html-5.7.2/characters.html for details of how to do all these steps. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general