function plotting (was: Re: [NTG-context] Q: about \externalfile from metafun-p.pdf)

2005-10-04 Thread Alexander Lazic
On Mon 03.10.2005 19:26, Christopher Creutzig wrote: MetaPost is not really a function plotter. So, yes, you have to use some sort of loop, although there may be some predefined macros hiding them. Is there a better way in ConTeXt/tex for this?! Should i use some external Programms for

Re: function plotting (was: Re: [NTG-context] Q: about \externalfile from metafun-p.pdf)

2005-10-04 Thread Mojca Miklavec
Alexander Lazic wrote: On Mon 03.10.2005 19:26, Christopher Creutzig wrote: MetaPost is not really a function plotter. So, yes, you have to use some sort of loop, although there may be some predefined macros hiding them. Is there a better way in ConTeXt/tex for this?! Should i use some

Re: function plotting (was: Re: [NTG-context] Q: about \externalfile from metafun-p.pdf)

2005-10-04 Thread Alexander Lazic
On Die 04.10.2005 19:48, Mojca Miklavec wrote: I use gnuplot which makes graphs of superb visual quality and has extensive support for many different function manipulations and weird stuff that you want to do with it. I have also think on gnuplot, but wasn't sure that i can use the ps/pdf

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-03 Thread Alexander Lazic
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.

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-03 Thread Christopher Creutzig
Alexander Lazic wrote: \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. The name is unimportant – my point is that the \stop... commands don't get arguments. Thanx. Have i right

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-02 Thread Christopher Creutzig
Alexander Lazic wrote: i'm starting to learn context and therefore i have copied some examples from metafun-p.pdf and get the following error: --- ! Undefined control sequence. l.42 \externalfile [mprun.21][width=5cm] Probably a typo in metafun-p.pdf; try

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-02 Thread Alexander Lazic
On Son 02.10.2005 19:54, Christopher Creutzig wrote: Probably a typo in metafun-p.pdf; try \externalfigure instead. Thanx this works ;-) Oh btw: i have see in the syntax-diagramm sin. 1.) is this the sinus function? 2.) i have try --- \startreusableMPgraphic{sin} sin (1);

Re: [NTG-context] Q: about \externalfile from metafun-p.pdf

2005-10-02 Thread Christopher Creutzig
Alexander Lazic wrote: Oh btw: i have see in the syntax-diagramm sin. 1.) is this the sinus function? Sure. (The sine function as used by mathematicians. If you want the sine of an angle expressed in degrees, I believe you want sind.) 2.) i have try --- \startreusableMPgraphic{sin}