Author Topic: Lisp to draw a fuction F(x):  (Read 1667 times)

0 Members and 1 Guest are viewing this topic.

Strucmad

  • Guest
Lisp to draw a fuction F(x):
« on: June 12, 2008, 01:11:45 AM »
Just wondering if anyone has a lisp to draw a graph for any given function F(x),
now I think I could write one for and indiviual function, just It would be nice
If someone has one, and willing to share one that could draw a graph of `any' given function,
for a particular range, of course, would be nicely appreciated.
Now to pre-empt kerry's
Quote
so what do you have so far
question... well nothing,
just wanted to see if there was one out there.

I understand if this is asking a bit much, 8-)

hermanm

  • Guest
Re: Lisp to draw a fuction F(x):
« Reply #1 on: June 12, 2008, 01:33:14 AM »
Try here:

http://www.crlf.de/Dateien/Dateien_e.html

FGRAPH.LSP (1,009 bytes): This AutoLISP routine implements the GRAPH command, which draws the functional graph of an arbitrary mathematical function.

MickD

  • King Gator
  • Posts: 3646
  • (x-in)->[process]->(y-out) ... simples!
Re: Lisp to draw a fuction F(x):
« Reply #2 on: June 12, 2008, 01:34:53 AM »
...
Now to pre-empt kerry's
Quote
so what do you have so far
question... well nothing,
..

How about the function :laugh:
"Programming is really just the mundane aspect of expressing a solution to a problem."
- John Carmack

"Short cuts make long delays,' argued Pippin.”
- J.R.R. Tolkien

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Lisp to draw a fuction F(x):
« Reply #3 on: June 12, 2008, 02:27:11 AM »
heh, I'm a legend in my own mind.  :lol:

kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Strucmad

  • Guest
Re: Lisp to draw a fuction F(x):
« Reply #4 on: June 12, 2008, 07:56:09 PM »
Thanks for the link hermanm,
that one I can modify quickly to suit a variety of functions.. 8-)
cheers mate.