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


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

Re: make gnuplot ignore string length

Path csiph.com!usenet.pasdenom.info!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: make gnuplot ignore string length
Followup-To comp.graphics.apps.gnuplot
Date Sun, 25 Mar 2012 10:14:20 -0700
Organization gnuplot development team
Lines 37
Message-ID <jknjpe$r7$1@dont-email.me> (permalink)
References <jkna42$pec$1@news.albasani.net>
Reply-To sfeam@users.sourceforge.net
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
Injection-Date Sun, 25 Mar 2012 17:14:23 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="3mhAfh4CeAIeL3OKnPexDA"; logging-data="871"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/BrirxBj9k3cG5NPeCkakt"
User-Agent KNode/4.4.9
Cancel-Lock sha1:oBlZsLk/1TxvKW92EUbT+06zBeA=
Xref csiph.com comp.graphics.apps.gnuplot:997

Followups directed to: comp.graphics.apps.gnuplot

Show key headers only | View raw


Tilman Schröder wrote:

> Heyho everyone,
> 
> I am using gnuplot to generate svgs with text fields containing latex
> commands.

svg + latex?  That's a combination I have not encountered.
Is there such a thing as an svg viewer that understands latex?
Are there problems with latex syntax using characters that
must be escaped before use in xml/svg documents?
 
> This works quite fine for x/ytics and x/ylabels, but not for keys/the
> legend.
> 
> For one plot, I need to have the keys outside the graph area (below),
> but since the titles contain lots of latex commands, gnuplot only
> prints one of three titles in the legend because it thinks all three
> titles won't fit in there.
> 
> Is there a way to tell gnuplot not to use the string length, but
> instead just put the titles where they should be, ignoring the fact
> that they might be overlapping?

There would seem to be an inherent contradiction between having the
program "ignore the length" and still having it know 
"where they should be".  

Possibly you can manually correct for the problem by using the command
    set key width -XX
where XX is the approximate length of the unprocessed LaTeX string.
Note that the correction is a negative number.
You might have to further force the layout using, e.g.
    set key maxcolumns 1
or  set key maxrows 1
as the case may be.

	Ethan

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


Thread

make gnuplot ignore string length Tilman Schröder <tilman.schroeder@gmx.de> - 2012-03-25 16:29 +0200
  Re: make gnuplot ignore string length sfeam <sfeam@users.sourceforge.net> - 2012-03-25 10:14 -0700
    Re: make gnuplot ignore string length Tilman Schröder <tilman.schroeder@gmx.de> - 2012-03-25 20:28 +0200
      Re: make gnuplot ignore string length sfeam <sfeam@users.sourceforge.net> - 2012-03-25 15:14 -0700

csiph-web