mailing-list for TeXmacs Users

Text archives Help


Re: Gnuplot session


Chronological Thread 
  • From: Stephan Mucha <address@hidden>
  • To: 黃朝錦 <address@hidden>
  • Subject: Re: Gnuplot session
  • Date: Wed, 19 Feb 2003 09:27:42 +0100
  • Organization: Institut f�r Massivbau, Uni Leipzig

Guten Tag 黃朝錦,

am Mittwoch, 19. Februar 2003 um 05:44 schrieben Sie:

�> Hi,

�> It's great to support Gnuplot seesion since 1.0.1.3. I had installed
1.0.1.4
�> into Knoppix Linux ( Debians-based Linux) with gnuplot-3.8h. But as I
input:
�> Gnuplot] set xlabel 'x:[cm]'
�> Gnuplot] plot exp(-x**2)

�> the result graph is appeared without x-label. And the error is as follows:

�> ------------------------------------
�> Error: /typecheck in --.unread--
�> Operand stack:
�> true --nostringval-- true 0
�> Execution stack:
�> %interp_exit .runexec2 --nostringval-- --nostringval--
�> --nostringval-- 2 %stopped_push --nostringval-- --nostringval--
�> --nostringval-- false 1 %stopped_push 1 3 %oparray_pop
�> --nostringval-- 1 1 3 --nostringval-- %for_pos_int_continue
�> --nostringval-- --nostringval-- --nostringval--
�> Dictionary stack:
�> --dict:1050/1123(ro)(G)-- --dict:0/20(G)-- --dict:88/200(L)--
�> Current allocation mode is local
�> GNU Ghostscript 7.05: Unrecoverable error, exit code 1

�> --------------------------
�> Other "set " options have the same problem.
�> Do I necessarily upgrade ghostscript?



The Interface conventions of TeXmacs assume that after every input
line an output field is produced and shown. To obey this rule the
gnuplot interface (see the script "tm_gnuplot") uses the "~" character
to separate input-parts that normally would be written as ("newline"
separated) lines.

so typing


Gnuplot] set xlabel 'x:[cm]' ~ plot exp(-x**2)

should work for your example.






--
Regards,

Stephan




Archive powered by MHonArc 2.6.19.

Top of page