Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1178

Re: point type - hexagon/user-defined

From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: point type - hexagon/user-defined
Followup-To comp.graphics.apps.gnuplot
Date 2012-06-05 08:36 -0700
Organization gnuplot development team
Message-ID <jql922$qsp$1@dont-email.me> (permalink)
References <ca50f458-e8a5-4566-91e7-9ff3d1adcd65@googlegroups.com>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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

csiph-web