help-octave
[Top][All Lists]
Advanced

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

Interaction with gnuplot


From: John Eaton
Subject: Interaction with gnuplot
Date: Thu, 28 Sep 1995 17:03:15 -0500

John L. Daschbach <address@hidden> wrote:

: sprintf() complains that \% is not a recognized
: escape sequence.  I have tried \%, \\%, \\\%, all to no avail.

The format strings for the printf functions are similar to those from
the standard C library.  To print `%', use `%%' in the format string:

  octave:13> sprintf ("99%% of all statistics are made up")
  ans = 99% of all statistics are made up

jwe


reply via email to

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