|
From: Philipp K. J. <ja...@ie...> - 2015-01-27 23:33:21
|
[snip]
> Although I have never hacked Gnuplot, I am fluent with C/C++ and
> would like to try to write a patch that implements this feature. I
> would like to ask you which would be the best way to do this:
>
> 1. Implement a pair of commands ("set hyphenminus" / "unset
> hyphenminus") which change this setting globally, i.e., on the
> X/Y/X2/Y2 axes.
>
> 2. Implement a new formatting sequence, like "%h", which takes care
> of using the correct character.
In that spirit (and sorry for hijacking your
posting): I noticed that the %h and %H conversion
specifiers use an 'x' (letter x) and a '*' (asterisk)
to form numbers like 3.1 x 10^4.
It would be lovely if they used the "multiplication
sign" (U+00d7) and the dot operator (U+22c5 - or
alternatively U+00b7) instead.
I could imagine a general user option for such
situations, eg:
set character minus <character>
set character times <character>
That would also allow an easy fallback for the
situation that the user's installed font does
not supply glyphs for the required "special" chars.
>
> My preference goes to the first option (if one cares for typographical
> correctness, chances are that it wants it on every axis.). Moreover,
> I would like to make the mathematical minus the default, and leave
> the possibility to use the hyphen only as a way to retain backwards
> compatibility (this is what Matplotlib does).
>
> What do you think? Do you have suggestions about how to properly code
> this?
>
> Maurizio.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media,
> is your hub for all things parallel software development, from weekly
> thought leadership blogs to news, videos, case studies, tutorials and
> more. Take a look and join the conversation now.
> http://goparallel.sourceforge.net/
> _______________________________________________ gnuplot-beta mailing
> list gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
|