octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiline labels in graphics


From: Daniel J Sebald
Subject: Re: Multiline labels in graphics
Date: Sun, 23 Mar 2008 21:28:23 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

Moritz Borgmann wrote:

That's (almost) it. I've found the offending code:

scripts/plot/__go_draw_axes__.m
1627-  if (enhanced)
1628-    if (strcmp (obj.interpreter, "tex"))
1629-      str = __tex2enhanced__ (str, fnt, it, bld);
1630-      if (! have_newer_gnuplot)
1631: ## Set the font to work around gnuplot 4.0 X11 enhanced terminal bug
1632-   str = strcat ('{/', f, ' ', str, ' }');

Why is it your code that is breaking this?  If the above fails with

title("hi\nthere")

then it is line 1632 that is the problem.  Is the solution to convert newline characters 
to spaces inside the "if (! have_newer_gnuplot)" conditional?

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]