On Son 02.10.2005 22:36, Christopher Creutzig wrote:
Alexander Lazic wrote:

2.) i have try

\startreusableMPgraphic{sin}

  sin (1);
\stopreusableMPgraphic{sin}

This {sin} at the end is wrong; it's interpreted as text.

This  have i understand ;-)
I called it sin, sorry for confusion.

What you can do is something like

   drawdot(10*x, 10*sin(x)) withpen pencircle scaled 1pt;

Thanx.
Have i right understand, if i want to draw a sinuscurve i must use a
for-loop?

I think it really helps with MP programming to understand this type of
loops.

Well i think i must learn mp before context, if i want to draw some
mathemathics functions ;-)

Thanx again for help.

greetings

al ;-)
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to