Re: setting vector head shape

Eric Lindsey <[email protected]> Thu, 28 Aug 2014 15:28:53 -0700
Newsgroups gmane.comp.gis.gmt.user
Message-ID <CANFFsAY_wsMSeKwqAbYivCKC6HPR5hbx4ntLu_Uig356gjJMPg@mail.gmail.com>
--e89a8f646ff5bee1410501b80fbe
Content-Type: text/plain; charset=UTF-8

Aha, this looks much better! Thanks.

Eric


On Thu, Aug 28, 2014 at 11:50 AM, Paul Wessel <[email protected]> wrote:

> You can use the +a<angle> modifier to increase the angle at the vector
> head apex.  it defaults to 30 degrees. Giving it 150 and a shorter length
> might work.
> -p
>
> On Aug 28, 2014, at 8:23 AM, Eric Lindsey <[email protected]> wrote:
>
> Dear all,
>
> Is it possible in GMT5 to control the shape of vector heads? I'd like to
> make a short, fat vector with a head wider than the bar, but keep finding
> that the shorter it gets, the smaller the head becomes (even if I don't set
> the +n option...). I can make the bar thick (eg. using -W25p), but the head
> remains the same size, leaving me with a head that's thinner than the bar!
> For example:
>
> echo "0 0 1 .5 " |gmt psvelo -Jx0.4/0.4 -R-10/10/-10/10 -B2g10 -W25p -L
> -Se3/0/18 -A30p+e -P -V > test.ps
>
> Changing the head size directly (eg. -A90p+e) makes the head wider, but
> too long. Ideally, I'd like to make something more like this arrow:
>
> http://www.wpclipart.com/blanks/arrows/arrows_BW/arrow_hollow_right.png
>
> I'm stumped -- there must be a clean way to do this.
>
> Eric
> Mailing list for GMT discussions of all kinds. If you are not sure you
> have found a bug, discuss it here first. To formally report bugs or request
> features, please register and add New Issue on gmt.soest.hawaii.edu To
> unsubscribe, send the message "signoff gmt-help" to
> [email protected] Note: gmt-help will become obsolete on Sept 1,
> 2014 - please use forum on gmt.soest.hawaii.edu instead.
>
>
> Mailing list for GMT discussions of all kinds. If you are not sure you
> have found a bug, discuss it here first. To formally report bugs or request
> features, please register and add New Issue on gmt.soest.hawaii.edu To
> unsubscribe, send the message "signoff gmt-help" to
> [email protected] Note: gmt-help will become obsolete on Sept 1,
> 2014 - please use forum on gmt.soest.hawaii.edu instead.

Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message "signoff gmt-help" to [email protected]
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.

--e89a8f646ff5bee1410501b80fbe
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Aha, this looks much better! Thanks.<div><br><div>Eric</di=
v></div></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote"=
>On Thu, Aug 28, 2014 at 11:50 AM, Paul Wessel <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt=
;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"word-wrap:break-word">You can =
use the +a&lt;angle&gt; modifier to increase the angle at the vector head a=
pex. =C2=A0it defaults to 30 degrees. Giving it 150 and a shorter length mi=
ght work.<div>
-p</div><div><br><div><div><div class=3D"h5"><div>On Aug 28, 2014, at 8:23 =
AM, Eric Lindsey &lt;<a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a>&gt; wrote:</div><br></div></div><blockquote type=3D"=
cite">
<div><div class=3D"h5"><div dir=3D"ltr">Dear all,<div><br></div><div>Is it =
possible in GMT5 to control the shape of vector heads? I&#39;d like to make=
 a short, fat vector with a head wider than the bar, but keep finding that =
the shorter it gets, the smaller the head becomes (even if I don&#39;t set =
the +n option...). I can make the bar thick (eg. using -W25p), but the head=
 remains the same size, leaving me with a head that&#39;s thinner than the =
bar! For example:</div>

<div><br></div><div>echo &quot;0 0 1 .5 &quot; |gmt psvelo -Jx0.4/0.4 -R-10=
/10/-10/10 -B2g10 -W25p -L -Se3/0/18 -A30p+e -P -V &gt; <a href=3D"http://t=
est.ps/" target=3D"_blank">test.ps</a><br></div><div><br></div><div>Changin=
g the head size directly (eg. -A90p+e) makes the head wider, but too long. =
Ideally, I&#39;d like to make something more like this arrow:</div>

<div><br></div><div><a href=3D"http://www.wpclipart.com/blanks/arrows/arrow=
s_BW/arrow_hollow_right.png" target=3D"_blank">http://www.wpclipart.com/bla=
nks/arrows/arrows_BW/arrow_hollow_right.png</a><br></div><div><br></div><di=
v>
I&#39;m stumped -- there must be a clean way to do this.</div>
<div><br></div><div>Eric<br></div></div></div></div>
Mailing list for GMT discussions of all kinds.  If you are not sure you hav=
e found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Is=
sue on <a href=3D"http://gmt.soest.hawaii.edu" target=3D"_blank">gmt.soest.=
hawaii.edu</a>
To unsubscribe, send the message &quot;signoff gmt-help&quot; to <a href=3D=
"mailto:[email protected]" target=3D"_blank">[email protected].=
edu</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on <=
a href=3D"http://gmt.soest.hawaii.edu" target=3D"_blank">gmt.soest.hawaii.e=
du</a> instead.
</blockquote></div><br></div></div>Mailing list for GMT discussions of all =
kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Is=
sue on <a href=3D"http://gmt.soest.hawaii.edu" target=3D"_blank">gmt.soest.=
hawaii.edu</a>
To unsubscribe, send the message &quot;signoff gmt-help&quot; to <a href=3D=
"mailto:[email protected]" target=3D"_blank">[email protected].=
edu</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on <=
a href=3D"http://gmt.soest.hawaii.edu" target=3D"_blank">gmt.soest.hawaii.e=
du</a> instead.
</blockquote></div><br></div>
Mailing list for GMT discussions of all kinds.  If you are not sure you have found a bug, discuss it here first.
To formally report bugs or request features, please register and add New Issue on gmt.soest.hawaii.edu
To unsubscribe, send the message &quot;signoff gmt-help&quot; to <a href=3D"mailto:[email protected]">[email protected]</a>
Note: gmt-help will become obsolete on Sept 1, 2014 - please use forum on gmt.soest.hawaii.edu instead.

--e89a8f646ff5bee1410501b80fbe--