On 2010-11-12 12:11-0000 Steve Schwartz wrote:

> The graph markers can be made using plpoin, plsym, or plptex depending
> on what glyph is available. Note using plptex gives you access to the
> entire Unicode set of glyphs, so you could also use hearts or any
> imaginable symbol. It's a tiny bit more work to loop through the points
> yourself to employ plptex, but it's just one more line of code and it
> takes no extra processing time.

Yes, calling plptex for the same string for an array of x and y points
is exactly what the new plstring API does internally.  But that is a
nice convenience function to have that makes it extremely easy to
replace plsym and plpoin with plstring in your code.

>
> I have noticed in the past some small differences in the vertical
> alignment of the glyphs with respect to the  (x,y) coordinate, but in
> all cases the (x,y) point was within the symbol so unless you need
> extreme accuracy that shouldn't be a problem. In any case you can
> experiment with different symbols yourself.

I am currently running across some small vertical misalignment issues
myself using plstring.  See the x04c results from the current svn
trunk version.  The misalignments depend a lot on which device driver
you are using so there are multiple PLplot bugs involved. On top of
that, you have to be careful of which glyph and font you use for
PLplot alignment testing since gucharmap shows some glyphs for some
fonts have arbitrary small vertical displacements of a glyph that
normally you would expect to be centred perfectly.  The PLplot result
generally confirms the vertical misalignment you see with gucharmap on
top of the buggy variety of misalignments you get from the various
device drivers. I hope to get the PLplot part of those vertical
misalignment issues completely sorted out by our next release using
test glyphs such as "U+2573 BOX DRAWINGS LIGHT DIAGONAL CROSS" that
appear vertically centred in the gucharmap display, but it is going
to take quite an effort.

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 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
__________________________

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to