[Jprogramming] Early morning wakeup exercise
Linda Alvord
lindaalvord at verizon.net
Tue Jul 10 19:55:20 UTC 2012
I had a red and a blue "wire" triangle like yours in my session. When I
added your code I got one that looks sort of purple! Interesting.
I was surprised that you could change the color without mentioning the word
"red". Now I have to figure out why your code did anything at all related to
color.
However the key word here is "paint". It is used in a pretty conventional
way to imply the area of the triangle needs color.
Linda
-----Original Message-----
From: programming-bounces at jsoftware.com
[mailto:programming-bounces at jsoftware.com] On Behalf Of Tirrell, Jordan
(Consultant)
Sent: Tuesday, July 10, 2012 11:54 AM
To: Programming forum
Subject: Re: [Jprogramming] Early morning wakeup exercise
Given the hint that blue is the color of the first plot, I'd say
'aspect 1'plot ,:~&.> PP
-----Original Message-----
From: programming-bounces at jsoftware.com
[mailto:programming-bounces at jsoftware.com] On Behalf Of Markus
Schmidt-Gröttrup
Sent: Tuesday, July 10, 2012 11:24 AM
To: Programming forum
Subject: Re: [Jprogramming] Early morning wakeup exercise
It is late in the afternoon here, so I do not get the point. You do not mean
'aspect 1;color red' plot PP
or
'aspect 1;type poly;color red' plot PP
do you?
Greetings, Markus
Am 10.07.2012 09:29, schrieb Linda Alvord:
> Paint the blue triangle red:
>
> load 'plot'
> PP=:1 5 4 1;2 3 6 2
> 'aspect 1'plot PP
>
> (It will be blue if it is the first plot in a session)
>
> Have a nice day. Linda
>
>
>
>
>
>
>
>
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list