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


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

Re: make gnuplot ignore string length

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 2012-03-25 10:14 -0700
Organization gnuplot development team
Message-ID <jknjpe$r7$1@dont-email.me> (permalink)
References <jkna42$pec$1@news.albasani.net>

Followups directed to: comp.graphics.apps.gnuplot

Show all headers | 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