Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1176 > unrolled thread
| Started by | nilay <nilaybhatt@gmail.com> |
|---|---|
| First post | 2012-06-04 23:22 -0700 |
| Last post | 2012-06-10 21:15 -0700 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
point type - hexagon/user-defined nilay <nilaybhatt@gmail.com> - 2012-06-04 23:22 -0700
Re: point type - hexagon/user-defined sfeam <sfeam@users.sourceforge.net> - 2012-06-05 08:36 -0700
Re: point type - hexagon/user-defined nilay <nilaybhatt@gmail.com> - 2012-06-10 21:15 -0700
| From | nilay <nilaybhatt@gmail.com> |
|---|---|
| Date | 2012-06-04 23:22 -0700 |
| Subject | point type - hexagon/user-defined |
| Message-ID | <ca50f458-e8a5-4566-91e7-9ff3d1adcd65@googlegroups.com> |
Hello, I want to plot my data points with hexagon point-type. This shape is not listed in the standard point-type list. How can I define it and use it? Thanks in advance. cheers nilay
[toc] | [next] | [standalone]
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Date | 2012-06-05 08:36 -0700 |
| Message-ID | <jql922$qsp$1@dont-email.me> |
| In reply to | #1176 |
nilay wrote:
> Hello,
>
> I want to plot my data points with hexagon point-type.
> This shape is not listed in the standard point-type list.
> How can I define it and use it?
There is no general mechanism for defining new point shapes,
although it can be done for some terminals (e.g. PostScript).
However for a hexagon in particular you can use the
following trick, assuming you have a font with the appropriate
character.
HEX = "⬢" # unicode point 0x2B22 BLACK HEXAGON
# UTF-8: 0xE2 0xAC 0xA2
plot foo using 1:2:(HEX) with labels
[toc] | [prev] | [next] | [standalone]
| From | nilay <nilaybhatt@gmail.com> |
|---|---|
| Date | 2012-06-10 21:15 -0700 |
| Message-ID | <9e13083d-12ed-45a9-ac73-eeee9525e3bf@googlegroups.com> |
| In reply to | #1178 |
On Tuesday, June 5, 2012 9:06:33 PM UTC+5:30, sfeam wrote: > nilay wrote: > > > Hello, > > > > I want to plot my data points with hexagon point-type. > > This shape is not listed in the standard point-type list. > > How can I define it and use it? > > There is no general mechanism for defining new point shapes, > although it can be done for some terminals (e.g. PostScript). > > However for a hexagon in particular you can use the > following trick, assuming you have a font with the appropriate > character. > > HEX = "⬢" # unicode point 0x2B22 BLACK HEXAGON > # UTF-8: 0xE2 0xAC 0xA2 > > plot foo using 1:2:(HEX) with labels Thanks for the reply. How to use unicode or UTF ? how to know which point-type no. gives hexagon in postscript??? Thanks again.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web