octave-maintainers
[Top][All Lists]
Advanced

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

Organization of plots in the Manual


From: Michael D Godfrey
Subject: Organization of plots in the Manual
Date: Tue, 15 Dec 2009 14:06:46 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20090922 Fedora/3.0-3.9.b4.fc12 Thunderbird/3.0b4

I was editing a few typos in plot.txi and noticed that
the text which is indicated to have generated a plot
is given in plot.txi as, for example:
@example
@group
x = -10:0.1:10;
plot (x, sin (x));
@end group
@end example
==========================
But, the actual code that creates the plot is in plotimages.m
Thus, there is a duplication of code which should be kept in
sync.  This is error prone, and there are a few errors.

Can anyone think of a convenient way to have one source of
plot commands for both plotting and inclusion in the Manual
text?

Michael



reply via email to

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