On Wed, 5 Jul 2006, Aditya Mahajan wrote:
p := textext(\AXIS{z}{3}{Optical Size});
p := p rotatedaround (z[13], angle(z[5]-z[1])) ;
% inv tan(1.5/2)
% Let metapost calculate it for you
% Ugly kludge
label(p,z[13]+(0,2labeloffset));
This can be done neatly if one remembers that label
On 7/6/06, Idris Samawi Hamid wrote:
Hi, Aditya,
(I must admit I'm still struggling with mastering Mojca's approach ;-).
I guess that I should read this as please comment your code better next time
pair diag[]; diag1 = (2,1.25); diag2=(10,-2.5);
I used diag1 to define the translation
On Thu, 06 Jul 2006 08:39:04 -0600, Mojca Miklavec
[EMAIL PROTECTED] wrote:
On 7/6/06, Idris Samawi Hamid wrote:
Hi, Aditya,
(I must admit I'm still struggling with mastering Mojca's approach ;-).
I guess that I should read this as please comment your code better next
time
Thank you
On Fri, 30 Jun 2006, Idris Samawi Hamid wrote:
Hi, Mojca, Aditya, Hans, and all the MP gurus,
Thank you for all the help and advice.
On Fri, 30 Jun 2006 18:17:23 -0600, Mojca Miklavec
[EMAIL PROTECTED] wrote:
Wow... Ok, following is my present, still naive code. What I would like to
be
Hi, Aditya,
Wow, Thanks for your suggestions; I will most certainly study both yours
and Mojca's approaches (I must admit I'm still struggling with mastering
Mojca's approach ;-). This is a real contribtion: once I'm done studying
yours and Mojca's examples and am sure I understand them I
Hi Mojca,
On Fri, 30 Jun 2006 22:33:41 -0600, Mojca Miklavec
[EMAIL PROTECTED] wrote:
Here's the second square as an example without calculating the
coordinates.
=meta-test2.tex===
Thank you very much; I will study this example very carefully.
Thnx again for the
On Thu, 29 Jun 2006 23:42:16 -0600, Aditya Mahajan [EMAIL PROTECTED]
wrote:
draw ((2,6) -- (2,5))
scaled 1cm withcolor .625red ;
you can use
drawoptions(scaled 1cm withcolor .625red) ;
draw(...) ;
draw(...) ;
draw(...) ;
drawoptions(scaled 1cm withcolor .625red)
does not apply the
Idris Samawi Hamid wrote:
On Thu, 29 Jun 2006 23:42:16 -0600, Aditya Mahajan [EMAIL PROTECTED]
wrote:
draw ((2,6) -- (2,5))
scaled 1cm withcolor .625red ;
you can use
drawoptions(scaled 1cm withcolor .625red) ;
draw(...) ;
draw(...) ;
draw(...) ;
On Thu, 29 Jun 2006 23:42:16 -0600, Aditya Mahajan [EMAIL PROTECTED]
wrote:
I would also probably number the points, so that they are easier to
refer to
pair z[];
z[1] := (0,0) ;
z[2] := (0,5) ;
z[3] := (5,0) ;
z[4] := (5,5) ;
etc.
and then
draw (z[1]--z[2]--z[3]--z[4]--cycle) ;
On Fri, 30 Jun 2006 15:41:15 -0600, Hans Hagen [EMAIL PROTECTED] wrote:
Idris Samawi Hamid wrote:
On Thu, 29 Jun 2006 23:42:16 -0600, Aditya Mahajan [EMAIL PROTECTED]
wrote:
draw ((2,6) -- (2,5))
scaled 1cm withcolor .625red ;
you can use
drawoptions(scaled 1cm withcolor .625red) ;
On 7/1/06, Idris Samawi Hamid wrote:
draw ((2,6) -- (2,5))
scaled 1cm withcolor .625red ;
is not the same as
draw ((2,6) -- (2,5))
withcolor .625red ;
currentpicture := currentpicture scaled 1 cm ;
I did find the
u := 1cm;
z[1] = (2u,6u) ;
method; is there another way, a macro
Hi, Mojca, Aditya, Hans, and all the MP gurus,
Thank you for all the help and advice.
On Fri, 30 Jun 2006 18:17:23 -0600, Mojca Miklavec
[EMAIL PROTECTED] wrote:
I did find the
u := 1cm;
z[1] = (2u,6u) ;
method; is there another way, a macro perhaps?
What about this one?
save
On 7/1/06, Idris Samawi Hamid wrote:
A question for Hans first: how can something similar be used for \sometxt?
\startMPenvironment
\ssxx\setupinterlinespace
\stopMPenvironment
(\setupsometxt[before=,after=] ?)
Wow... Ok, following is my present, still naive code. What I would like to
be
Dear knights,
I spent a few hours today with MetaPost and MetaFun, my first serious stab
at Meta in many years, so I'm a virtual newbie (used PSTricks back in the
LaTeX days). I am trying to basically duplicate the attached pdf graphic
and need help with the following:
1. This code is
On Thu, 29 Jun 2006, Idris Samawi Hamid wrote:
Dear knights,
I spent a few hours today with MetaPost and MetaFun, my first serious stab at
Meta in many years, so I'm a virtual newbie (used PSTricks back in the LaTeX
days). I am trying to basically duplicate the attached pdf graphic and
15 matches
Mail list logo