From: Floris van Manen <vm@klankschap.nl>
Subject: Re[2]: no graph after compilation
Date: Wed, 11 Aug 2004 17:57:39 +0200 [thread overview]
Message-ID: <713195493.20040811175739@klankschap.nl> (raw)
In-Reply-To: <m2oelhvgbk.fsf@levana.de>
>> PG> currentpicture :=nullpicture;
>> PG> draw pic scaled 3 ;
>> PG>
>> PG> clears the first picture.
>>
>>
>> but i only intend to draw one picture...
PG>
PG> is this a question? Did you try the code?
i did, but it has side-effects...
it will scale, but the color disappears too.
try.
-----
%% interface=english output=pdftex
\setupcolors[state=start]
\starttext
\startuseMPgraphic{dummy}
drawoptions(withpen pencircle scaled .1pt) ;
w0 := 0cm ; w1 := 1.2cm ; w2 := 2.7 cm ; w3 := 3.0cm ;
ww0 := 0.96cm ; ww1 := 1.2cm ; ww2 := 1.8cm ; ww3 := 2.4cm ;
path p ; p := (w0,w0)--(w0,ww0)--(w1,ww1)--(w3,ww2)--(w3,w0)--cycle ;
drawoptions(withpen pencircle scaled .1pt withcolor .625yellow) ;
draw hlingrid(0, 5, 1, 3cm, 3cm) ;
draw vlingrid(0, 10, 1, 3cm, 3cm) ;
drawoptions(withpen pencircle scaled 1mm withcolor black) ;
dotlabel.top ("1" , point 1 of p) ;
dotlabel.top ("2" , point 2 of p) ;
dotlabel.top ("3" , point 3 of p) ;
%%%%% enable/disable this section %%%%%%%%%%
picture pic ; pic := currentpicture ;
currentpicture := nullpicture ;
draw pic scaled 1.0 ;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\stopuseMPgraphic
\useMPgraphic{dummy}
\stoptext
next prev parent reply other threads:[~2004-08-11 15:57 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-10 17:30 Some problems with framing typed text Brooks Moses
2004-08-10 18:00 ` Henning Hraban Ramm
2004-08-10 18:47 ` Brooks Moses
2004-08-10 19:04 ` Hans Hagen
2004-08-10 20:35 ` no graph after compilation Floris van Manen
2004-08-11 12:55 ` Peter Rolf
2004-08-11 13:38 ` Re[2]: " Floris van Manen
2004-08-11 14:00 ` Vit Zyka
2004-08-11 14:09 ` Re[2]: " Floris van Manen
2004-08-11 14:21 ` Patrick Gundlach
2004-08-11 14:44 ` Re[2]: " Floris van Manen
2004-08-11 15:07 ` Patrick Gundlach
2004-08-11 15:14 ` Patrick Gundlach
2004-08-11 15:24 ` Re[2]: " Floris van Manen
2004-08-11 15:34 ` Patrick Gundlach
2004-08-11 15:57 ` Floris van Manen [this message]
2004-08-11 16:38 ` Patrick Gundlach
2004-08-11 18:03 ` Re[2]: " Floris van Manen
2004-08-11 18:17 ` Patrick Gundlach
2004-08-11 22:17 ` Re[2]: " Floris van Manen
2004-08-12 7:47 ` Patrick Gundlach
2004-08-12 8:05 ` Eros Albertazzi
2004-08-12 11:30 ` Re[2]: " Floris van Manen
2004-08-12 11:03 ` Vit Zyka
2004-08-12 11:29 ` Re[2]: " Floris van Manen
2004-08-12 19:26 ` Patrick Gundlach
2004-08-12 22:02 ` Hans Hagen
2004-08-12 23:32 ` Re[2]: getting context going Floris van Manen
2004-08-12 23:48 ` Hans Hagen
2004-08-13 8:24 ` Patrick Gundlach
2004-08-13 12:29 ` Re[2]: getting context going --> feature tool request Floris van Manen
2004-08-12 7:25 ` no graph after compilation Hans Hagen
2004-08-12 11:06 ` Re[2]: " Floris van Manen
2004-08-12 7:13 ` Hans Hagen
2004-08-12 7:42 ` Patrick Gundlach
2004-08-11 16:00 ` Vit Zyka
2004-08-11 16:30 ` Patrick Gundlach
2004-08-11 17:14 ` Re[2]: " Peter Münster
2004-08-10 18:48 ` Some problems with framing typed text Hans Hagen
2004-08-10 19:21 ` Brooks Moses
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=713195493.20040811175739@klankschap.nl \
--to=vm@klankschap.nl \
--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).