9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: John Stalker <stalker@Math.Princeton.EDU>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] PIC language
Date: Wed, 19 Nov 2003 13:01:23 -0500	[thread overview]
Message-ID: <200311191801.hAJI1NoY028255@localhost.localdomain> (raw)
In-Reply-To: <ACCF003CBA3D09458207DB0CB86AD17D124C23@XMAIL.asuch.cas.cz>


> do we / could we have colors in PIC? What about (filled) polygons?
>
> ++pac.

One strategy I have used in the past for complicated pictures is
to generate my own xfig save files.  The format is not really meant
to be human-readable, but it is plain text and documentation exists.
xfig can read these and export them in many formats.  It can even
export pic format, but don't expect things like colors to work.
I usually export the pictures as encapsulated postscript.  You
can generate the pictures however you want.  I used a chain of
awk scripts--inefficient, but easy to debug.

--
John Stalker
Department of Mathematics
Princeton University
(609)258-6469


  parent reply	other threads:[~2003-11-19 18:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-18 14:46 cej
2003-11-19  9:41 ` Douglas A. Gwyn
2003-11-19 17:05   ` boyd, rounin
2003-11-19 17:10     ` Fco.J.Ballesteros
2003-11-19 18:01 ` John Stalker [this message]
2003-11-20 15:48 cej
2003-11-20 16:50 ` Russ Cox
2003-11-20 18:37 ` boyd, rounin

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=200311191801.hAJI1NoY028255@localhost.localdomain \
    --to=stalker@math.princeton.edu \
    --cc=9fans@cse.psu.edu \
    /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).