From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Message-id: From: Pietro Gagliardi To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: <90d9a3ce92632dcebb2a0d3e09be5ed7@quanstro.net> Date: Tue, 24 Feb 2009 19:12:56 -0500 References: <90d9a3ce92632dcebb2a0d3e09be5ed7@quanstro.net> Subject: Re: [9fans] plot cmd dotted dashed lines not implemented?? Topicbox-Message-UUID: a880239a-ead4-11e9-9d60-3106f5b1d025 Styles aren't in the libplot that plot uses as an engine. I can add them in the next few days if you want. On Feb 24, 2009, at 5:59 PM, erik quanstrom wrote: >> Sorry Erik I dont particuarly understand your reply >> I am guessing that it's referring to pe working for lines only. > > it only claims to work for lines. evidently it does not > work at all. > >> #include "mplot.h" >> void pen(char *s){ >> /* BUG: NO OP */ >> USED(s); >> /* was this error: color(s); */ >> } >> >> not sure where USED(s); is implemented. > > USED is implemented by the c compiler. the syntax > is USED(var, ...). it doesn't do anything but supress > unused variable warnings. > > a more natural implementation with kenc would be > > void > pen(char*) > { > /* bug: noop */ > } > > - erik >