ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
Subject: Re: function plotting (was: Re: Q: about \externalfile from metafun-p.pdf)
Date: Tue, 4 Oct 2005 19:48:34 +0200	[thread overview]
Message-ID: <6faad9f00510041048l25e0b9f0m@mail.gmail.com> (raw)
In-Reply-To: <20051004082954.GA20838@none.at>

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 external Programms for this?
>
> al ;-)

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 do something like:

set terminal latex
set output "file.tex"
set title '\bf My wonderful function $sin(\omega t)$'
set xlabel '$t\ \rm[s]$'
set ylabel '$A$'
plot sin(x)

and then "\input file" inside of the main LaTeX file. Gnuplot cannot
make output in ConTeXt (yet), but perhaps you can include the
resulting PDFs in your ConTeXt source. (Gnuplot is one of the very few
examples where I still use LaTeX.) You can also output the
(ConTeXt-friendly) metapost (with set terminal), but you lose on
quality.

Mojca

  parent reply	other threads:[~2005-10-04 17:48 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-02 17:27 Q: about \externalfile from metafun-p.pdf Alexander Lazic
2005-10-02 17:54 ` Christopher Creutzig
2005-10-02 18:58   ` Alexander Lazic
2005-10-02 20:36     ` Christopher Creutzig
2005-10-03  8:03       ` Alexander Lazic
2005-10-03 17:26         ` Christopher Creutzig
2005-10-04  8:29           ` function plotting (was: Re: Q: about \externalfile from metafun-p.pdf) Alexander Lazic
2005-10-04 16:07             ` function plotting Christopher Creutzig
2005-10-04 19:17               ` Alexander Lazic
2005-10-04 17:48             ` Mojca Miklavec [this message]
2005-10-04 19:20               ` function plotting (was: Re: Q: about \externalfile from metafun-p.pdf) Alexander Lazic
2005-10-05  6:17                 ` function plotting David Arnold
2005-10-05  9:02                   ` Alexander Lazic
2005-10-04 22:33               ` Christopher Creutzig
2005-10-05  7:18                 ` Hans Hagen
2005-10-05 13:22                   ` David Arnold
2005-10-05  7:05               ` Hans Hagen
2005-10-05  9:06                 ` Alexander Lazic
2005-10-05 12:08                 ` David Munger
2005-10-05 15:02                 ` Mojca Miklavec
2005-10-06 11:51                   ` Christopher Creutzig
2005-10-04 19:14             ` Peter Münster
2005-10-04 20:25               ` Alexander Lazic
2005-10-05  6:16                 ` Peter Münster
2005-10-05  6:43                   ` luigi.scarso
2005-10-05 21:08                     ` Alexander Lazic

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=6faad9f00510041048l25e0b9f0m@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).