dimar has asked for the wisdom of the Perl Monks concerning the following question:
A simple script, module or app that generates a list of plots and draws simple text representation of arbitrary curves; OR the acknowledgement that no such thing exists and I have to write it myself.
The Rationale:The purpose is for a quick-and-dirty way to sketch curves and see what they look like in text before sending the plot points off to another program, without having to use any sophisticated packages like GD or the like. Since the functionality is very simple, the question is whether someone has already written something like this that has support for a wide variety of quick-and-simple family of curves, as well as a way to quickly sketch them out in text.
An Example:### GetTrigCurve($iLength,$iAmplitude,$fFreq,$sType); my @aCurve = GetTrigCurve(30,48,100,'cos'); print GetPoints( [@aCurve] ) print DrawCurve( [@aCurve] ); __END__ 0,3,12,24,36,45,47,44,34,22,10,2,0,4,14,26,38,46,47,42,32,20,8,1,0,5,1 +6,28,40,46,47 ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: No-Frills Curve Sketches
by injunjoel (Priest) on Jul 03, 2004 at 18:03 UTC | |
by dimar (Curate) on Jul 03, 2004 at 20:21 UTC | |
by injunjoel (Priest) on Jul 05, 2004 at 16:51 UTC | |
|
Re: No-Frills Curve Sketches
by YuckFoo (Abbot) on Jul 06, 2004 at 23:06 UTC |