ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: gnuplot for Mojca
Date: Tue, 3 Jan 2006 09:18:18 +0100	[thread overview]
Message-ID: <6faad9f00601030018h35a6a95cj5bf3ce468e39f4eb@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0601021131270.22725@gaston.free.fr>

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

On 1/2/06, Peter Münster wrote:
> Hi Mojca,
> if you're still looking for a gnuplot module, here is one:

Yes, I'm still looking for it.

> http://pmrb.free.fr/work/OS/ConTeXt/t-gnuplot.tex

Thanks a lot. I've learnt a lot from the example, it's only that in
the way it's written now it's not compatible with windows.

I've made a gnuplot.bat. It can be called with
    gnuplot somescript
    epstopdf somescript
where somescript is something like
    set terminal postscript eps # should be added automatically
    set output "someuniquename" # should be added automatically
    plot sin(x) # between \startGnuplot ... \stopGnuplot

My question is: how can I put this into the same buffer (file) without
using OS-specific commands? (piping didn't work)

The rewritten version of the module works if I add the first two lines
manually between \startGnuplot ... \stopGnuplot, but that should be
done automatically by the module itself.

I looked into metafun code, but it's still too complicated for me to
understand it and use it for gnuplot.

Gnuplot would also need some kind of \startGnuplotinclusions for stuff like
    set nokey
    set xlabel "time"
plus the lines for setting the terminal which would automatically be added.

(I don't like the postscript terminal itself, but that module s a good start.)

Mojca

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

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

  reply	other threads:[~2006-01-03  8:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-02 10:34 Peter Münster
2006-01-03  8:18 ` Mojca Miklavec [this message]
2006-01-03 17:49   ` Peter Münster
2006-01-03 20:27     ` Mojca Miklavec
2006-01-03 21:19       ` Hans Hagen
2006-01-03 21:22       ` Hans Hagen
2006-01-03 22:07       ` Hans Hagen
2006-01-03 22:41         ` Peter Münster
2006-01-04  8:55           ` Hans Hagen
2006-01-04 14:45           ` present for mojca Hans Hagen
2006-01-04 15:34             ` Tobias Burnus
2006-01-04 16:14               ` Hans Hagen
2006-01-05 15:57                 ` Mojca Miklavec
2006-01-05 18:43                   ` Hans Hagen
2006-01-06 12:35                     ` Mojca Miklavec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6faad9f00601030018h35a6a95cj5bf3ce468e39f4eb@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).