9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Fernan Bolando <fernanbolando@mailc.net>
To: 9fans@9fans.net
Subject: Re: [9fans] plot cmd dotted dashed lines not implemented??
Date: Wed, 25 Feb 2009 06:49:41 +0800	[thread overview]
Message-ID: <1d5d51400902241449v5a2c0620hd8f1eaa9de501ec6@mail.gmail.com> (raw)
In-Reply-To: <e54e70b5c2ec8214184049387cda27b7@quanstro.net>

On Tue, Feb 24, 2009 at 11:13 PM, erik quanstrom <quanstro@quanstro.net> wrote:
>> I browsed the source for plot and libplot, I cant grep any reference
>> to dotted or dashed
>> except in the man files. Is it not implemented or am I using the
>> commands incorrectly?
>
>          pe string Use string as the style for drawing lines.  The
>                    available pen styles are: solid, dott[ed], short,
>                    long, dotd[ashed], cdash, ddash
>
> - erik
>

Sorry Erik I dont particuarly understand your reply
I am guessing that it's referring to pe working for  lines only.

but doing this will also produce a solid line instead of what I
thought it should produce a dashed line
o
ra -10 -10 10 10
e
co green
pe cdash
li 0 0 10 10
cl

the pe command seems to call pen.c in libplot

%
#include "mplot.h"
void pen(char *s){
	/* BUG: NO OP */
	USED(s);
	/* was this error:	color(s); */
}

not sure where USED(s); is implemented.

regards
fernan

-- 
http://www.fernski.com



  parent reply	other threads:[~2009-02-24 22:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24 15:03 Fernan Bolando
2009-02-24 15:13 ` erik quanstrom
     [not found] ` <e54e70b5c2ec8214184049387cda27b7@quanstro.net>
2009-02-24 22:49   ` Fernan Bolando [this message]
2009-02-24 22:59     ` erik quanstrom
2009-02-25  0:12       ` Pietro Gagliardi
2009-02-25  1:30         ` Fernan Bolando
2009-02-25  2:42       ` Charles Forsyth
2009-02-25  2:28         ` erik quanstrom
2009-02-24 23:02     ` Pietro Gagliardi

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=1d5d51400902241449v5a2c0620hd8f1eaa9de501ec6@mail.gmail.com \
    --to=fernanbolando@mailc.net \
    --cc=9fans@9fans.net \
    /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).