9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Skip Tavakkolian" <fst@centurytel.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] pic generators?
Date: Wed,  5 Feb 2003 09:05:49 -0800	[thread overview]
Message-ID: <af9effede6bb4d6b5a330be2250cb866@centurytel.net> (raw)
In-Reply-To: <Pine.LNX.4.30.0302050951100.17267-100000@athena>

> I'm going to show my age here, but what are
> the standard set of programs used to generate,
> say, pic format images for insertion into
> papers?  I'm trying to create some figures
> for a document and I'm not quite certain
> where to look.

Pic is a powerful language, but it is easy to learn and use.  As
others have mentioned, it is always easier to do pic by hand.  These
guidelines help me:

* know what it is you want to draw.  Do it by hand first
so you have a pretty good idea how you want to lay it out.
* if there is a natural flow order, use it.
* define things in []; Label the objects (e.g. A: box).
* use relative coordinates (e.g.  .n, .e, .w, .s) and lengths (e.g.
1/2 of the way between) in reference to labeled objects;
it helps when you move things around.

There are lots of examples.   Richard Stevens did a tutorial paper that
you can find with google. Also I think the macros from one of his
books (I think UNIX Network Programming) could be found.



  parent reply	other threads:[~2003-02-05 17:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-05 14:59 Sam
2003-02-05 15:05 ` Fco.J.Ballesteros
2003-02-05 15:11   ` Sam
2003-02-05 15:15     ` Fco.J.Ballesteros
2003-02-05 15:54       ` Boyd Roberts
2003-02-05 17:01         ` Charles Forsyth
2003-02-05 15:59       ` Russ Cox
2003-02-05 20:23     ` William Josephson
2003-02-06  9:40     ` Douglas A. Gwyn
2003-02-05 15:38 ` David Butler
2003-02-05 16:31 ` Jon Snader
2003-02-06 12:52   ` Aharon Robbins
2003-02-07 12:33     ` Ralph Corderoy
2003-02-07 14:28       ` [9fans] troff book (was: pic generators?) Sam
2003-02-10 10:04         ` Ralph Corderoy
2003-02-05 17:05 ` Skip Tavakkolian [this message]
2003-02-05 16:36 [9fans] pic generators? rog
2003-02-05 16:36 ` Russ Cox
2003-02-06  0:46 okamoto

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=af9effede6bb4d6b5a330be2250cb866@centurytel.net \
    --to=fst@centurytel.net \
    --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).