comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Set Operations on A and B
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Set Operations on A and B [message #45797 is a reply to message #45700] Sun, 02 October 2005 18:36 Go to previous messageGo to previous message
mxd1007@cs.rit.edu is currently offline  mxd1007@cs.rit.edu
Messages: 1
Registered: October 2005
Junior Member
I did fix the error, by deleting setA[i] in :

WHILE ( h < k AND setIntersection(setA[i], colorClass[h])$

and replacing it with newSetA, where newSetA is defined right before
the WHILE loop:

newsetA = EXTRAC(setA, 0, i, 2, 1)
WHILE ( h < k AND setIntersection(setA[i], colorClass[h])$
...
....
....

however I get an error stating:

IDL> graphcolor
% HISTOGRAM: Expression must be an array in this context: B.
% Execution halted at: SETINTERSECTION 36
/Applications/rsi/graphcolor.pro
% GRAPHCOLOR 76
/Applications/rsi/graphcolor.pro
% $MAIN$

which refers to Colorclass[h]. So I guess since this is only a
numerical value, I need to somehow convert it to an array.
ColorClass[h] is the set of vertices with color h, and is constructed
as follows:

ColorClass[h] = {i is an element of the set of vertices : color[i] = h}
for 0 <= h <= k-1
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: PDF manual on 6.1
Next Topic: Stackplot without axis?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 03:41:15 PDT 2025

Total time taken to generate the page: 0.23591 seconds