Re: [NTG-context] Re: function plotting

2005-10-06 Thread Christopher Creutzig
Mojca Miklavec wrote:
 about the output quality. You can't express it in percentage. See
 http://pub.mojca.org/tex/gnuplot/trlin.pdf for an example graph with
 latex/pslatex/mp as rendering terminal.

 People often (incorrectly) claim you can't argue preferences, but I'd
say the MP version wins hands down in this particular example. :-)


Christopher
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: function plotting

2005-10-05 Thread Peter Münster
On Tue, 4 Oct 2005, Alexander Lazic wrote:

 \usemodule[pstric]
 \starttext
 \startPSTRICKS
 \psplot[plotpoints=100]{0}{1}{x 360 mul sin}
 \stopPSTRICKS
 \stoptext
 
 Thanx i have try an get:
 
 figures : figure pstest-texapp can not be found
 
 but there is the file: pstest-texapp.tex

Hello Alexander,
I don't understand your problem, but perhaps you should write the psplot
command inside a \pspicture(0,-1)(1,1) ... \endpspicture.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: function plotting

2005-10-05 Thread luigi.scarso

Peter Münster wrote:


On Tue, 4 Oct 2005, Alexander Lazic wrote:

 


\usemodule[pstric]
\starttext
\startPSTRICKS
\psplot[plotpoints=100]{0}{1}{x 360 mul sin}
\stopPSTRICKS
\stoptext
 


Thanx i have try an get:

figures : figure pstest-texapp can not be found

but there is the file: pstest-texapp.tex
   



Hello Alexander,
I don't understand your problem, but perhaps you should write the psplot
command inside a \pspicture(0,-1)(1,1) ... \endpspicture.
Cheers, Peter

 


This works for me (I suppose your code is in pstest-texapp.tex):
$ texexec --output=dvips pstest-texapp.tex
$ dvips -o pstest-texapp.ps pstest-texapp.dvi
$ ps2pdf14 pstest-texapp.ps

luigi
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: function plotting

2005-10-05 Thread Hans Hagen

Christopher Creutzig wrote:


Mojca Miklavec wrote:

 


and then \input file inside of the main LaTeX file. Gnuplot cannot
make output in ConTeXt (yet), but perhaps you can include the
   



Since afaik ConTeXt does not have an equivalent of LaTeX's picture
environment, I don't see much point in teaching gnuplot some sort of
ConTeXt output.  I'm no gnuplot expert, but my guess is that tweaking
the metapost prologues and some minor code tweaks would probably be the
easiest way to go.
 


context has some equivalent, positions, which i nowadays never use

even better is to use layers, so if someone is willing to write the code 
for gnuplot, i can provide the context snippets


Hans

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: function plotting

2005-10-05 Thread Alexander Lazic

Hi,

On Die 04.10.2005 23:17, David Arnold wrote:



[Very helpfull text snipped]

Wow thanx ;-)


And for a good stats package, see:

http://www-math.univ-poitiers.fr/~phan/statsmac.html

And for good circuits diagrams, see:

http://www.cnm.es/~pserra/schema/whatis.html


Thanx also.


Don't give up on Metapost too soon. It's an awesome language and the
file size created are small, a plus when you're document includes lots
of figures and you want it to download in reasonable time on the
internet.


Well i give me the time to learn this language ;-)

al ;-)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: function plotting

2005-10-05 Thread Alexander Lazic

On Mit 05.10.2005 09:05, Hans Hagen wrote:


gnuplot is great indeed, but the output is rather large; it would be
nice if there was a real good output mode (say, comparable to the
output produced by metapost: compact, parsable);


Ack.

btw, is it really that difficult to use gnuplot output in context? 


Not really because if you use png or i think some other output
fileformats.

But i think you lose some benefit of metapost, or have i the wrong point
of view?!

Greetings

al ;-)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: function plotting

2005-10-05 Thread David Munger
 gnuplot is great indeed, but the output is rather large; it would be nice if 
 there was a real good output mode (say, comparable to the output produced by 
 metapost: compact, parsable); 
 
 btw, is it really that difficult to use gnuplot output in context? 
 
 Hans 

I often use metapost output from gnuplot indeed, then pass it through a
short sed script to do stuff like adding \start/stopuseMPgraphic
commands and cleaning the preamble. I think gnuplot does a great job in
general.

For more complex graphs, I prefer the mp-graph package.

Regards,

David

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: function plotting

2005-10-05 Thread David Arnold
It's been a while since I used gnuplot, but at one time it was able  
to export as Metapost code. Does it still do that?



On Oct 5, 2005, at 12:18 AM, Hans Hagen wrote:


Christopher Creutzig wrote:



Mojca Miklavec wrote:




and then \input file inside of the main LaTeX file. Gnuplot cannot
make output in ConTeXt (yet), but perhaps you can include the




Since afaik ConTeXt does not have an equivalent of LaTeX's picture
environment, I don't see much point in teaching gnuplot some sort of
ConTeXt output.  I'm no gnuplot expert, but my guess is that tweaking
the metapost prologues and some minor code tweaks would probably  
be the

easiest way to go.



context has some equivalent, positions, which i nowadays never use

even better is to use layers, so if someone is willing to write the  
code for gnuplot, i can provide the context snippets


Hans

-
 Hans Hagen | PRAGMA ADE
 Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context




David


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: function plotting

2005-10-05 Thread Alexander Lazic

On Mit 05.10.2005 08:43, luigi.scarso wrote:

Peter Münster wrote:


I don't understand your problem, but perhaps you should write the
psplot command inside a \pspicture(0,-1)(1,1) ... \endpspicture.


This works for me (I suppose your code is in pstest-texapp.tex):


Thanx both for your answer, i think i need some more time with
contextmetapost ;-)

@all: I will work thru all your answers and tips, thanx again all for
 our help and points ;-))

Greetings from austria.

al ;-)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: function plotting

2005-10-04 Thread Alexander Lazic

On Die 04.10.2005 18:07, Christopher Creutzig wrote:


But you might be interested (assuming you can read or at least
decipher French) in the pages at
http://melusine.eu.org/syracuse/metapost/galeries/ ? complete code
included.  (Those are the predefined macros I was talking about above.)


Thanx for that link looks very nice ;-)

greetings

al ;-)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: function plotting

2005-10-04 Thread Alexander Lazic

Hi,

On Die 04.10.2005 21:14, Peter Münster wrote:


You could also try PSTricks:

\usemodule[pstric]
\starttext
\startPSTRICKS
\psplot[plotpoints=100]{0}{1}{x 360 mul sin}
\stopPSTRICKS
\stoptext


Thanx i have try an get:

figures : figure pstest-texapp can not be found

but there is the file: pstest-texapp.tex

You can get the output and some otherfiles from:

http://www.none.at/tex/

Greetings

al ;-)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context