Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: "~a{0.8-}" notation confuses legend arrangement Followup-To: comp.graphics.apps.gnuplot Date: Sun, 27 Nov 2011 16:51:40 -0800 Organization: gnuplot development team Lines: 31 Message-ID: References: Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Mon, 28 Nov 2011 00:51:42 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="3mhAfh4CeAIeL3OKnPexDA"; logging-data="32031"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DCR4E6wKpp9ZoQjT0vk5z" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:LQDBJ/xDWR7adoqm05tUSvEN08A= Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:709 Ryo wrote: > Hello, > > Is this a bug? When I use the "~a{0.8-}" notation, the legend > suddenly becomes horizontal. For example, > > set terminal postscript eps color 20 enhanced > set output "tmp.eps" > set key vertical > plot sin(x) t "~{/Symbol k}{0.5\261}" lw 3 lc 0, \ > cos(x) t "{/Symbol k}" lw 3 lc 0 > #plot sin(x) t "{/Symbol k}" lw 3 lc 0, \ > # cos(x) t "{/Symbol k}" lw 3 lc 0 > set output > set terminal wxt > > If you comment out the first plot command and use the second version, > the legends are arranged vertically, as expected. > > Whether this is a bug or not, I need to fix it. Could somebody > provide a workaround? Work-around: Add a space before the closing double-quote sign. plot sin(x) t "~{/Symbol k}{0.5\261} " lw 3 lc 0, \ cos(x) t "{/Symbol k}" lw 3 lc 0 > > Thank you, > Ryo