// // time: Wed Jul 2 16:16:33 1997 // // version: 3.1.1 (format), 3.1.4 (DX) // // // MODULE main // page assignment: DoPie order=2, windowed=0, showing=1 // page assignment: get_data order=4, windowed=0, showing=0 // page assignment: import order=3, windowed=0, showing=0 // workspace: width = 614, height = 601 // layout: snap = 0, width = 50, height = 50, align = NN // macro main( ) -> ( ) { // // node ImportSpreadsheet[1]: x = 51, y = 21, inputs = 10, label = ImportSpreadsheet // input[1]: defaulting = 0, visible = 1, type = 32, value = "categorical.data1" // input[2]: defaulting = 1, visible = 1, type = 32, value = "\t" // input[9]: defaulting = 1, visible = 0, type = 1, value = 1 // input[10]: defaulting = 1, visible = 0, type = 1, value = 0 // page group: import // main_ImportSpreadsheet_1_out_1, main_ImportSpreadsheet_1_out_2 = ImportSpreadsheet( main_ImportSpreadsheet_1_in_1, main_ImportSpreadsheet_1_in_2, main_ImportSpreadsheet_1_in_3, main_ImportSpreadsheet_1_in_4, main_ImportSpreadsheet_1_in_5, main_ImportSpreadsheet_1_in_6, main_ImportSpreadsheet_1_in_7, main_ImportSpreadsheet_1_in_8, main_ImportSpreadsheet_1_in_9, main_ImportSpreadsheet_1_in_10 ) [instance: 1, cache: 1]; // // node Selector[1]: x = 192, y = 137, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_1" // input[2]: defaulting = 0, visible = 0, type = 32, value = "purchases" // input[3]: defaulting = 0, visible = 0, type = 29, value = 1 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = {"customer" "purchases" "income" "profit" "household_members" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = {0 1 2 3 4 } // output[1]: visible = 1, type = 29, value = 1 // output[2]: visible = 1, type = 32, value = "purchases" // page group: import // main_Selector_1_out_1[cache: 2], main_Selector_1_out_2[cache: 2] = Selector( main_Selector_1_in_1, main_Selector_1_in_2, main_Selector_1_in_3, main_ImportSpreadsheet_1_out_2, main_Selector_1_in_5, main_Selector_1_in_6, main_Selector_1_in_7 ) [instance: 1, cache: 1]; // // node Mark[1]: x = 114, y = 150, inputs = 2, label = Mark // input[2]: defaulting = 1, visible = 1, type = 32, value = "sales" // page group: import // main_Mark_1_out_1 = Mark( main_ImportSpreadsheet_1_out_1, main_Selector_1_out_2 ) [instance: 1, cache: 1]; // // node AutoColor[1]: x = 88, y = 289, inputs = 10, label = AutoColor // input[9]: visible = 1 // page group: import // main_AutoColor_1_out_1, main_AutoColor_1_out_2 = AutoColor( main_Mark_1_out_1, main_AutoColor_1_in_2, main_AutoColor_1_in_3, main_AutoColor_1_in_4, main_AutoColor_1_in_5, main_AutoColor_1_in_6, main_AutoColor_1_in_7, main_AutoColor_1_in_8, main_AutoColor_1_in_9, main_AutoColor_1_in_10 ) [instance: 1, cache: 1]; // // node Transmitter[8]: x = 276, y = 81, inputs = 1, label = datalabels // page group: import // datalabels = main_ImportSpreadsheet_1_out_2; // // node Receiver[8]: x = 401, y = 188, inputs = 1, label = datalabels // page group: import // main_Receiver_8_out_1[cache: 0] = datalabels; // // node Selector[4]: x = 427, y = 275, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_4" // input[2]: defaulting = 0, visible = 0, type = 32, value = "profit" // input[3]: defaulting = 0, visible = 0, type = 29, value = 3 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = {"customer" "purchases" "income" "profit" "household_members" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = {0 1 2 3 4 } // output[1]: visible = 1, type = 29, value = 3 // output[2]: visible = 1, type = 32, value = "profit" // page group: import // main_Selector_4_out_1[cache: 2], main_Selector_4_out_2[cache: 2] = Selector( main_Selector_4_in_1, main_Selector_4_in_2, main_Selector_4_in_3, main_Receiver_8_out_1, main_Selector_4_in_5, main_Selector_4_in_6, main_Selector_4_in_7 ) [instance: 4, cache: 1]; // // node Mark[5]: x = 81, y = 451, inputs = 2, label = Mark // page group: import // main_Mark_5_out_1 = Mark( main_AutoColor_1_out_1, main_Selector_4_out_2 ) [instance: 5, cache: 1]; // // node Transmitter[10]: x = 71, y = 554, inputs = 1, label = percents // page group: import // percents = main_Mark_5_out_1; // // node Receiver[1]: x = 43, y = 31, inputs = 1, label = percents // page group: DoPie // main_Receiver_1_out_1[cache: 0] = percents; // // node Transmitter[9]: x = 20, y = 95, inputs = 1, label = data // page group: import // data = main_ImportSpreadsheet_1_out_1; // // node Receiver[10]: x = 571, y = 45, inputs = 1, label = data // page group: get_data // main_Receiver_10_out_1[cache: 0] = data; // // node Receiver[9]: x = 404, y = 28, inputs = 1, label = datalabels // page group: get_data // main_Receiver_9_out_1[cache: 0] = datalabels; // // node Selector[2]: x = 315, y = 206, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_2" // input[2]: defaulting = 0, visible = 0, type = 32, value = "household_members" // input[3]: defaulting = 0, visible = 0, type = 29, value = 4 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = {"customer" "purchases" "income" "profit" "household_members" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = {0 1 2 3 4 } // output[1]: visible = 1, type = 29, value = 4 // output[2]: visible = 1, type = 32, value = "household_members" // page group: get_data // main_Selector_2_out_1[cache: 2], main_Selector_2_out_2[cache: 2] = Selector( main_Selector_2_in_1, main_Selector_2_in_2, main_Selector_2_in_3, main_Receiver_9_out_1, main_Selector_2_in_5, main_Selector_2_in_6, main_Selector_2_in_7 ) [instance: 2, cache: 1]; // // node Mark[3]: x = 319, y = 304, inputs = 2, label = Mark // input[2]: defaulting = 1, visible = 1, type = 32, value = "sales" // page group: get_data // main_Mark_3_out_1 = Mark( main_Receiver_10_out_1, main_Selector_2_out_2 ) [instance: 3, cache: 1]; // // node Transmitter[2]: x = 310, y = 440, inputs = 1, label = radius // page group: get_data // radius = main_Mark_3_out_1; // // node Receiver[2]: x = 124, y = 32, inputs = 1, label = radius // page group: DoPie // main_Receiver_2_out_1[cache: 0] = radius; // // node Selector[3]: x = 477, y = 206, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_3" // input[2]: defaulting = 0, visible = 0, type = 32, value = "income" // input[3]: defaulting = 0, visible = 0, type = 29, value = 2 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = {"customer" "purchases" "income" "profit" "household_members" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = {0 1 2 3 4 } // output[1]: visible = 1, type = 29, value = 2 // output[2]: visible = 1, type = 32, value = "income" // page group: get_data // main_Selector_3_out_1[cache: 2], main_Selector_3_out_2[cache: 2] = Selector( main_Selector_3_in_1, main_Selector_3_in_2, main_Selector_3_in_3, main_Receiver_9_out_1, main_Selector_3_in_5, main_Selector_3_in_6, main_Selector_3_in_7 ) [instance: 3, cache: 1]; // // node Mark[4]: x = 421, y = 308, inputs = 2, label = Mark // input[2]: defaulting = 1, visible = 1, type = 32, value = "sales" // page group: get_data // main_Mark_4_out_1 = Mark( main_Receiver_10_out_1, main_Selector_3_out_2 ) [instance: 4, cache: 1]; // // node Transmitter[3]: x = 434, y = 434, inputs = 1, label = height // page group: get_data // height = main_Mark_4_out_1; // // node Receiver[3]: x = 195, y = 34, inputs = 1, label = height // page group: DoPie // main_Receiver_3_out_1[cache: 0] = height; // // node Selector[5]: x = 601, y = 213, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_5" // input[2]: defaulting = 0, visible = 0, type = 32, value = "customer" // input[3]: defaulting = 0, visible = 0, type = 29, value = 0 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = {"customer" "purchases" "income" "profit" "household_members" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = {0 1 2 3 4 } // output[1]: visible = 1, type = 29, value = 0 // output[2]: visible = 1, type = 32, value = "customer" // page group: get_data // main_Selector_5_out_1[cache: 2], main_Selector_5_out_2[cache: 2] = Selector( main_Selector_5_in_1, main_Selector_5_in_2, main_Selector_5_in_3, main_Receiver_9_out_1, main_Selector_5_in_5, main_Selector_5_in_6, main_Selector_5_in_7 ) [instance: 5, cache: 1]; // // node Extract[1]: x = 562, y = 320, inputs = 2, label = Extract // page group: get_data // main_Extract_1_out_1 = Extract( main_Receiver_10_out_1, main_Selector_5_out_2 ) [instance: 1, cache: 1]; // // node Transmitter[4]: x = 566, y = 437, inputs = 1, label = labels // page group: get_data // labels = main_Extract_1_out_1; // // node Receiver[4]: x = 279, y = 39, inputs = 1, label = labels // page group: DoPie // main_Receiver_4_out_1[cache: 0] = labels; // // node Pie[1]: x = 42, y = 135, inputs = 17, label = Pie // input[4]: visible = 1 // input[5]: defaulting = 0, visible = 1, type = 5, value = 0.0 // input[6]: visible = 1 // input[7]: defaulting = 0, visible = 0, type = 5, value = 0.0 // input[10]: defaulting = 0, visible = 0, type = 5, value = 0.0 // input[11]: defaulting = 1, visible = 1, type = 5, value = 1.0 // input[12]: defaulting = 0, visible = 0, type = 5, value = 0.0 // input[13]: defaulting = 0, visible = 1, type = 5, value = 1.0 // page group: DoPie // main_Pie_1_out_1, main_Pie_1_out_2, main_Pie_1_out_3, main_Pie_1_out_4, main_Pie_1_out_5 = Pie( main_Receiver_1_out_1, main_Pie_1_in_2, main_Receiver_2_out_1, main_Pie_1_in_4, main_Pie_1_in_5, main_Pie_1_in_6, main_Pie_1_in_7, main_Receiver_3_out_1, main_Pie_1_in_9, main_Pie_1_in_10, main_Pie_1_in_11, main_Pie_1_in_12, main_Pie_1_in_13, main_Pie_1_in_14, main_Receiver_4_out_1, main_Pie_1_in_16, main_Pie_1_in_17 ) [instance: 1, cache: 1]; // // node AutoGlyph[1]: x = 198, y = 217, inputs = 7, label = AutoGlyph // input[2]: defaulting = 0, visible = 1, type = 32, value = "text, font=area" // input[4]: defaulting = 0, visible = 1, type = 5, value = 1.4 // page group: DoPie // main_AutoGlyph_1_out_1 = AutoGlyph( main_Pie_1_out_3, main_AutoGlyph_1_in_2, main_AutoGlyph_1_in_3, main_AutoGlyph_1_in_4, main_AutoGlyph_1_in_5, main_AutoGlyph_1_in_6, main_AutoGlyph_1_in_7 ) [instance: 1, cache: 1]; // // node Pick[1]: x = 387, y = 354, inputs = 9, label = Pick_1 // input[1]: defaulting = 0, visible = 0, type = 32, value = "Pick_1" // input[2]: defaulting = 0, visible = 0, type = 32, value = "Image_1" // input[3]: defaulting = 0, visible = 0, type = 16777224, value = NULL // input[4]: defaulting = 0, visible = 0, type = 3, value = 88 // input[7]: defaulting = 0, visible = 0, type = 3, value = 1 // page group: DoPie // main_Pick_1_out_1 = Pick( main_Pick_1_in_1, main_Pick_1_in_2, main_Pick_1_in_3, main_Pick_1_in_4, main_Pick_1_in_5, main_Pick_1_in_6, main_Pick_1_in_7, main_Pick_1_in_8, main_Pick_1_in_9 ) [instance: 1, cache: 1]; // // node Receiver[11]: x = 543, y = 174, inputs = 1, label = datalabels // page group: DoPie // main_Receiver_11_out_1[cache: 0] = datalabels; // // node Selector[10]: x = 453, y = 219, inputs = 7, label = Selector // input[1]: defaulting = 0, visible = 0, type = 32, value = "Selector_10" // input[2]: defaulting = 0, visible = 0, type = 32, value = "purchases" // input[3]: defaulting = 0, visible = 0, type = 29, value = 1 // input[4]: defaulting = 1, visible = 1, type = 16777248, value = {"customer" "purchases" "income" "profit" "household_members" } // input[5]: defaulting = 1, visible = 0, type = 16777245, value = {0 1 2 3 4 } // output[1]: visible = 1, type = 29, value = 1 // output[2]: visible = 1, type = 32, value = "purchases" // page group: DoPie // main_Selector_10_out_1[cache: 2], main_Selector_10_out_2[cache: 2] = Selector( main_Selector_10_in_1, main_Selector_10_in_2, main_Selector_10_in_3, main_Receiver_11_out_1, main_Selector_10_in_5, main_Selector_10_in_6, main_Selector_10_in_7 ) [instance: 10, cache: 1]; // // node Rename[1]: x = 465, y = 430, inputs = 3, label = Rename // page group: DoPie // main_Rename_1_out_1 = Rename( main_Pick_1_out_1, main_Selector_10_out_2, main_Rename_1_in_3 ) [instance: 1, cache: 1]; // // node AutoGlyph[2]: x = 458, y = 515, inputs = 7, label = AutoGlyph // input[2]: defaulting = 0, visible = 1, type = 32, value = "text" // page group: DoPie // main_AutoGlyph_2_out_1 = AutoGlyph( main_Rename_1_out_1, main_AutoGlyph_2_in_2, main_AutoGlyph_2_in_3, main_AutoGlyph_2_in_4, main_AutoGlyph_2_in_5, main_AutoGlyph_2_in_6, main_AutoGlyph_2_in_7 ) [instance: 2, cache: 1]; // // node Format[1]: x = 696, y = 228, inputs = 4, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "height = %s, radius = %s" // page group: get_data // main_Format_1_out_1 = Format( main_Format_1_in_1, main_Selector_3_out_2, main_Selector_2_out_2, main_Format_1_in_4 ) [instance: 1, cache: 1]; // // node Transmitter[12]: x = 432, y = 430, inputs = 1, label = percentsdata // page group: import // percentsdata = main_Selector_4_out_2; // // node Receiver[14]: x = 661, y = 98, inputs = 1, label = percentsdata // page group: get_data // main_Receiver_14_out_1[cache: 0] = percentsdata; // // node Transmitter[11]: x = 204, y = 252, inputs = 1, label = colors // page group: import // colors = main_Selector_1_out_2; // // node Receiver[13]: x = 770, y = 92, inputs = 1, label = colors // page group: get_data // main_Receiver_13_out_1[cache: 0] = colors; // // node Format[2]: x = 804, y = 223, inputs = 4, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "wedge angle = %s, colors = %s" // page group: get_data // main_Format_2_out_1 = Format( main_Format_2_in_1, main_Receiver_14_out_1, main_Receiver_13_out_1, main_Format_2_in_4 ) [instance: 2, cache: 1]; // // node List[1]: x = 801, y = 322, inputs = 2, label = List // page group: get_data // main_List_1_out_1 = List( main_Format_1_out_1, main_Format_2_out_1 ) [instance: 1, cache: 1]; // // node Caption[1]: x = 695, y = 334, inputs = 9, label = Caption // input[6]: defaulting = 0, visible = 0, type = 1, value = 20 // input[7]: defaulting = 0, visible = 0, type = 32, value = "area" // page group: get_data // main_Caption_1_out_1 = Caption( main_List_1_out_1, main_Caption_1_in_2, main_Caption_1_in_3, main_Caption_1_in_4, main_Caption_1_in_5, main_Caption_1_in_6, main_Caption_1_in_7, main_Caption_1_in_8, main_Caption_1_in_9 ) [instance: 1, cache: 1]; // // node Format[3]: x = 340, y = 267, inputs = 2, label = Format // input[1]: defaulting = 0, visible = 1, type = 32, value = "Pick on a wedge to show %s data" // page group: DoPie // main_Format_3_out_1 = Format( main_Format_3_in_1, main_Selector_10_out_2 ) [instance: 3, cache: 1]; // // node Caption[3]: x = 305, y = 432, inputs = 9, label = Caption // input[2]: defaulting = 0, visible = 1, type = 8, value = [.5 .95] // input[6]: defaulting = 0, visible = 0, type = 1, value = 20 // input[7]: defaulting = 0, visible = 0, type = 32, value = "area" // page group: DoPie // main_Caption_3_out_1 = Caption( main_Format_3_out_1, main_Caption_3_in_2, main_Caption_3_in_3, main_Caption_3_in_4, main_Caption_3_in_5, main_Caption_3_in_6, main_Caption_3_in_7, main_Caption_3_in_8, main_Caption_3_in_9 ) [instance: 3, cache: 1]; // // node Color[1]: x = 93, y = 251, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 1, type = 32, value = "grey" // page group: DoPie // main_Color_1_out_1 = Color( main_Pie_1_out_2, main_Color_1_in_2, main_Color_1_in_3, main_Color_1_in_4, main_Color_1_in_5 ) [instance: 1, cache: 1]; // // node Color[2]: x = 175, y = 292, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 1, type = 32, value = "magenta" // page group: DoPie // main_Color_2_out_1 = Color( main_AutoGlyph_1_out_1, main_Color_2_in_2, main_Color_2_in_3, main_Color_2_in_4, main_Color_2_in_5 ) [instance: 2, cache: 1]; // // node Transmitter[5]: x = 704, y = 435, inputs = 1, label = caption // page group: get_data // caption = main_Caption_1_out_1; // // node Receiver[5]: x = 280, y = 307, inputs = 1, label = caption // page group: DoPie // main_Receiver_5_out_1[cache: 0] = caption; // // node Color[3]: x = 358, y = 539, inputs = 5, label = Color // input[2]: defaulting = 0, visible = 1, type = 32, value = "black" // page group: DoPie // main_Color_3_out_1 = Color( main_AutoGlyph_2_out_1, main_Color_3_in_2, main_Color_3_in_3, main_Color_3_in_4, main_Color_3_in_5 ) [instance: 3, cache: 1]; // // node Collect[1]: x = 98, y = 422, inputs = 6, label = Collect // page group: DoPie // main_Collect_1_out_1 = Collect( main_Pie_1_out_1, main_Color_1_out_1, main_Color_2_out_1, main_Receiver_5_out_1, main_Color_3_out_1, main_Caption_3_out_1 ) [instance: 1, cache: 1]; // // node Transmitter[7]: x = 351, y = 562, inputs = 1, label = colormap // page group: import // colormap = main_AutoColor_1_out_2; // // node Receiver[7]: x = 544, y = 194, inputs = 1, label = colormap // page group: import // main_Receiver_7_out_1[cache: 0] = colormap; // // node ColorBar[1]: x = 525, y = 358, inputs = 14, label = ColorBar // page group: import // main_ColorBar_1_out_1 = ColorBar( main_Receiver_7_out_1, main_ColorBar_1_in_2, main_ColorBar_1_in_3, main_ColorBar_1_in_4, main_ColorBar_1_in_5, main_ColorBar_1_in_6, main_ColorBar_1_in_7, main_Selector_1_out_2, main_ColorBar_1_in_9, main_ColorBar_1_in_10, main_ColorBar_1_in_11, main_ColorBar_1_in_12, main_ColorBar_1_in_13, main_ColorBar_1_in_14 ) [instance: 1, cache: 1]; // // node Image[1]: x = 150, y = 514, inputs = 48, label = Image // input[1]: defaulting = 0, visible = 0, type = 67108863, value = "Image_1" // input[4]: defaulting = 0, visible = 0, type = 1, value = 1 // input[5]: defaulting = 0, visible = 0, type = 8, value = [0.116542 -0.221967 0.5] // input[6]: defaulting = 0, visible = 0, type = 8, value = [-0.0511719 -2.12562 6.21523] // input[7]: defaulting = 1, visible = 0, type = 5, value = 3.22946 // input[8]: defaulting = 0, visible = 0, type = 1, value = 562 // input[9]: defaulting = 0, visible = 0, type = 5, value = 0.8 // input[10]: defaulting = 0, visible = 0, type = 8, value = [-0.00638923 0.948791 0.31584] // input[11]: defaulting = 0, visible = 0, type = 5, value = 30.0 // input[12]: defaulting = 0, visible = 0, type = 1, value = 1 // input[14]: defaulting = 0, visible = 0, type = 1, value = 1 // input[15]: defaulting = 1, visible = 0, type = 32, value = "none" // input[16]: defaulting = 1, visible = 0, type = 32, value = "none" // input[17]: defaulting = 1, visible = 0, type = 1, value = 1 // input[18]: defaulting = 1, visible = 0, type = 1, value = 1 // input[19]: defaulting = 0, visible = 0, type = 1, value = 0 // input[25]: defaulting = 1, visible = 0, type = 32, value = "image1" // input[26]: defaulting = 0, visible = 0, type = 32, value = "tiff" // input[29]: defaulting = 1, visible = 0, type = 3, value = 0 // input[41]: defaulting = 0, visible = 0, type = 32, value = "pick" // page group: DoPie // depth: value = 8 // window: position = (0.0586,0.0771), size = 0.4500x0.4814 // internal caching: 1 // main_Image_1_out_1, main_Image_1_out_2, main_Image_1_out_3 = Image( main_Image_1_in_1, main_Collect_1_out_1, main_Image_1_in_3, main_Image_1_in_4, main_Image_1_in_5, main_Image_1_in_6, main_Image_1_in_7, main_Image_1_in_8, main_Image_1_in_9, main_Image_1_in_10, main_Image_1_in_11, main_Image_1_in_12, main_Image_1_in_13, main_Image_1_in_14, main_Image_1_in_15, main_Image_1_in_16, main_Image_1_in_17, main_Image_1_in_18, main_Image_1_in_19, main_Image_1_in_20, main_Image_1_in_21, main_Image_1_in_22, main_Image_1_in_23, main_Image_1_in_24, main_Image_1_in_25, main_Image_1_in_26, main_Image_1_in_27, main_Image_1_in_28, main_Image_1_in_29, main_Image_1_in_30, main_Image_1_in_31, main_Image_1_in_32, main_Image_1_in_33, main_Image_1_in_34, main_Image_1_in_35, main_Image_1_in_36, main_Image_1_in_37, main_Image_1_in_38, main_Image_1_in_39, main_Image_1_in_40, main_Image_1_in_41, main_Image_1_in_42, main_Image_1_in_43, main_Image_1_in_44, main_Image_1_in_45, main_Image_1_in_46, main_Image_1_in_47, main_Image_1_in_48 ) [instance: 1, cache: 1]; // // node Transmitter[6]: x = 587, y = 495, inputs = 1, label = colorbar // page group: import // colorbar = main_ColorBar_1_out_1; // network: end of macro body CacheScene("Image_1", main_Image_1_out_1, main_Image_1_out_2); } main_ImportSpreadsheet_1_in_1 = "categorical.data1"; main_ImportSpreadsheet_1_in_2 = NULL; main_ImportSpreadsheet_1_in_3 = NULL; main_ImportSpreadsheet_1_in_4 = NULL; main_ImportSpreadsheet_1_in_5 = NULL; main_ImportSpreadsheet_1_in_6 = NULL; main_ImportSpreadsheet_1_in_7 = NULL; main_ImportSpreadsheet_1_in_8 = NULL; main_ImportSpreadsheet_1_in_9 = NULL; main_ImportSpreadsheet_1_in_10 = NULL; main_ImportSpreadsheet_1_out_1 = NULL; main_ImportSpreadsheet_1_out_2 = NULL; main_Selector_1_in_1 = "Selector_1"; main_Selector_1_in_2 = "purchases" ; main_Selector_1_in_3 = 1 ; main_Selector_1_in_5 = NULL; main_Selector_1_in_6 = NULL; main_Selector_1_in_7 = NULL; main_Selector_1_out_2 = "purchases" ; main_Mark_1_out_1 = NULL; main_AutoColor_1_in_2 = NULL; main_AutoColor_1_in_3 = NULL; main_AutoColor_1_in_4 = NULL; main_AutoColor_1_in_5 = NULL; main_AutoColor_1_in_6 = NULL; main_AutoColor_1_in_7 = NULL; main_AutoColor_1_in_8 = NULL; main_AutoColor_1_in_9 = NULL; main_AutoColor_1_in_10 = NULL; main_AutoColor_1_out_1 = NULL; main_AutoColor_1_out_2 = NULL; main_Transmitter_8_out_1 = NULL; main_Receiver_8_out_1 = NULL; main_Selector_4_in_1 = "Selector_4"; main_Selector_4_in_2 = "profit" ; main_Selector_4_in_3 = 3 ; main_Selector_4_in_5 = NULL; main_Selector_4_in_6 = NULL; main_Selector_4_in_7 = NULL; main_Selector_4_out_2 = "profit" ; main_Mark_5_out_1 = NULL; main_Transmitter_10_out_1 = NULL; main_Receiver_1_out_1 = NULL; main_Transmitter_9_out_1 = NULL; main_Receiver_10_out_1 = NULL; main_Receiver_9_out_1 = NULL; main_Selector_2_in_1 = "Selector_2"; main_Selector_2_in_2 = "household_members" ; main_Selector_2_in_3 = 4 ; main_Selector_2_in_5 = NULL; main_Selector_2_in_6 = NULL; main_Selector_2_in_7 = NULL; main_Selector_2_out_2 = "household_members" ; main_Mark_3_out_1 = NULL; main_Transmitter_2_out_1 = NULL; main_Receiver_2_out_1 = NULL; main_Selector_3_in_1 = "Selector_3"; main_Selector_3_in_2 = "income" ; main_Selector_3_in_3 = 2 ; main_Selector_3_in_5 = NULL; main_Selector_3_in_6 = NULL; main_Selector_3_in_7 = NULL; main_Selector_3_out_2 = "income" ; main_Mark_4_out_1 = NULL; main_Transmitter_3_out_1 = NULL; main_Receiver_3_out_1 = NULL; main_Selector_5_in_1 = "Selector_5"; main_Selector_5_in_2 = "customer" ; main_Selector_5_in_3 = 0 ; main_Selector_5_in_5 = NULL; main_Selector_5_in_6 = NULL; main_Selector_5_in_7 = NULL; main_Selector_5_out_2 = "customer" ; main_Extract_1_out_1 = NULL; main_Transmitter_4_out_1 = NULL; main_Receiver_4_out_1 = NULL; main_Pie_1_in_2 = NULL; main_Pie_1_in_4 = NULL; main_Pie_1_in_5 = 0.0; main_Pie_1_in_6 = NULL; main_Pie_1_in_7 = 0.0; main_Pie_1_in_9 = NULL; main_Pie_1_in_10 = 0.0; main_Pie_1_in_11 = NULL; main_Pie_1_in_12 = 0.0; main_Pie_1_in_13 = 1.0; main_Pie_1_in_14 = NULL; main_Pie_1_in_16 = NULL; main_Pie_1_in_17 = NULL; main_Pie_1_out_1 = NULL; main_Pie_1_out_2 = NULL; main_Pie_1_out_3 = NULL; main_AutoGlyph_1_in_2 = "text, font=area"; main_AutoGlyph_1_in_3 = NULL; main_AutoGlyph_1_in_4 = 1.4; main_AutoGlyph_1_in_5 = NULL; main_AutoGlyph_1_in_6 = NULL; main_AutoGlyph_1_in_7 = NULL; main_AutoGlyph_1_out_1 = NULL; main_Pick_1_in_1 = "Pick_1"; main_Pick_1_in_2 = "Image_1"; main_Pick_1_in_3 = NULL; main_Pick_1_in_4 = 88; main_Pick_1_in_5 = NULL; main_Pick_1_in_6 = NULL; main_Pick_1_in_7 = 1; main_Pick_1_in_8 = NULL; main_Pick_1_in_9 = NULL; main_Pick_1_out_1 = NULL; main_Receiver_11_out_1 = NULL; main_Selector_10_in_1 = "Selector_10"; main_Selector_10_in_2 = "purchases" ; main_Selector_10_in_3 = 1 ; main_Selector_10_in_5 = NULL; main_Selector_10_in_6 = NULL; main_Selector_10_in_7 = NULL; main_Selector_10_out_2 = "purchases" ; main_Rename_1_in_3 = NULL; main_Rename_1_out_1 = NULL; main_AutoGlyph_2_in_2 = "text"; main_AutoGlyph_2_in_3 = NULL; main_AutoGlyph_2_in_4 = NULL; main_AutoGlyph_2_in_5 = NULL; main_AutoGlyph_2_in_6 = NULL; main_AutoGlyph_2_in_7 = NULL; main_AutoGlyph_2_out_1 = NULL; main_Format_1_in_1 = "height = %s, radius = %s"; main_Format_1_in_4 = NULL; main_Format_1_out_1 = NULL; main_Transmitter_12_out_1 = NULL; main_Receiver_14_out_1 = NULL; main_Transmitter_11_out_1 = NULL; main_Receiver_13_out_1 = NULL; main_Format_2_in_1 = "wedge angle = %s, colors = %s"; main_Format_2_in_4 = NULL; main_Format_2_out_1 = NULL; main_List_1_out_1 = NULL; main_Caption_1_in_2 = NULL; main_Caption_1_in_3 = NULL; main_Caption_1_in_4 = NULL; main_Caption_1_in_5 = NULL; main_Caption_1_in_6 = 20; main_Caption_1_in_7 = "area"; main_Caption_1_in_8 = NULL; main_Caption_1_in_9 = NULL; main_Caption_1_out_1 = NULL; main_Format_3_in_1 = "Pick on a wedge to show %s data"; main_Format_3_out_1 = NULL; main_Caption_3_in_2 = [.5 .95]; main_Caption_3_in_3 = NULL; main_Caption_3_in_4 = NULL; main_Caption_3_in_5 = NULL; main_Caption_3_in_6 = 20; main_Caption_3_in_7 = "area"; main_Caption_3_in_8 = NULL; main_Caption_3_in_9 = NULL; main_Caption_3_out_1 = NULL; main_Color_1_in_2 = "grey"; main_Color_1_in_3 = NULL; main_Color_1_in_4 = NULL; main_Color_1_in_5 = NULL; main_Color_1_out_1 = NULL; main_Color_2_in_2 = "magenta"; main_Color_2_in_3 = NULL; main_Color_2_in_4 = NULL; main_Color_2_in_5 = NULL; main_Color_2_out_1 = NULL; main_Transmitter_5_out_1 = NULL; main_Receiver_5_out_1 = NULL; main_Color_3_in_2 = "black"; main_Color_3_in_3 = NULL; main_Color_3_in_4 = NULL; main_Color_3_in_5 = NULL; main_Color_3_out_1 = NULL; main_Collect_1_out_1 = NULL; main_Transmitter_7_out_1 = NULL; main_Receiver_7_out_1 = NULL; main_ColorBar_1_in_2 = NULL; main_ColorBar_1_in_3 = NULL; main_ColorBar_1_in_4 = NULL; main_ColorBar_1_in_5 = NULL; main_ColorBar_1_in_6 = NULL; main_ColorBar_1_in_7 = NULL; main_ColorBar_1_in_9 = NULL; main_ColorBar_1_in_10 = NULL; main_ColorBar_1_in_11 = NULL; main_ColorBar_1_in_12 = NULL; main_ColorBar_1_in_13 = NULL; main_ColorBar_1_in_14 = NULL; main_ColorBar_1_out_1 = NULL; macro Image( id, object, where, useVector, to, from, width, resolution, aspect, up, viewAngle, perspective, options, buttonState = 1, buttonUpApprox = "none", buttonDownApprox = "none", buttonUpDensity = 1, buttonDownDensity = 1, renderMode = 0, defaultCamera, reset, backgroundColor, throttle, RECenable = 0, RECfile, RECformat, RECresolution, RECaspect, AAenable = 0, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, interactionMode, title, AAxTickLocs, AAyTickLocs, AAzTickLocs, AAxTickLabels, AAyTickLabels, AAzTickLabels) -> ( object, camera, where) { ImageMessage( id, backgroundColor, throttle, RECenable, RECfile, RECformat, RECresolution, RECaspect, AAenable, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, AAxTickLocs, AAyTickLocs, AAzTickLocs, AAxTickLabels, AAyTickLabels, AAzTickLabels, interactionMode, title, renderMode, buttonUpApprox, buttonDownApprox, buttonUpDensity, buttonDownDensity) [instance: 1, cache: 1]; autoCamera = AutoCamera( object, "front", object, resolution, aspect, [0,1,0], perspective, viewAngle, backgroundColor) [instance: 1, cache: 1]; realCamera = Camera( to, from, width, resolution, aspect, up, perspective, viewAngle, backgroundColor) [instance: 1, cache: 1]; coloredDefaultCamera = UpdateCamera(defaultCamera, background=backgroundColor) [instance: 1, cache: 1]; nullDefaultCamera = Inquire(defaultCamera, "is null + 1") [instance: 1, cache: 1]; resetCamera = Switch( nullDefaultCamera, coloredDefaultCamera, autoCamera) [instance: 1, cache: 1]; resetNull = Inquire( reset, "is null + 1") [instance: 2, cache: 1]; reset = Switch( resetNull, reset, 0) [instance: 2, cache: 1]; whichCamera = Compute( "($0 != 0 || $1 == 0) ? 1 : 2", reset, useVector) [instance: 1, cache: 1]; camera = Switch( whichCamera, resetCamera, realCamera) [instance: 3, cache: 1]; AAobject = AutoAxes( object, camera, AAlabels, AAticks, AAcorners, AAframe, AAadjust, AAcursor, AAgrid, AAcolors, AAannotation, AAlabelscale, AAfont, AAxTickLocs, AAyTickLocs, AAzTickLocs, AAxTickLabels, AAyTickLabels, AAzTickLabels) [instance: 1, cache: 1]; switchAAenable = Compute("$0+1", AAenable) [instance: 2, cache: 1]; object = Switch( switchAAenable, object, AAobject) [instance:4, cache: 1]; SWapproximation_options = Switch( buttonState, buttonUpApprox, buttonDownApprox) [instance: 5, cache: 1]; SWdensity_options = Switch( buttonState, buttonUpDensity, buttonDownDensity) [instance: 6, cache: 1]; HWapproximation_options = Format( "%s,%s", buttonDownApprox, buttonUpApprox) [instance: 1, cache: 1]; HWdensity_options = Format( "%d,%d", buttonDownDensity, buttonUpDensity) [instance: 2, cache: 1]; switchRenderMode = Compute( "$0+1", renderMode) [instance: 3, cache: 1]; approximation_options = Switch( switchRenderMode, SWapproximation_options, HWapproximation_options) [instance: 7, cache: 1]; density_options = Switch( switchRenderMode, SWdensity_options, HWdensity_options) [instance: 8, cache: 1]; renderModeString = Switch( switchRenderMode, "software", "hardware")[instance: 9, cache: 1]; object_tag = Inquire( object, "object tag")[instance: 3, cache: 1]; annoted_object = Options( object, "send boxes", 0, "cache", 1, "object tag", object_tag, "ddcamera", whichCamera, "rendering approximation", approximation_options, "render every", density_options, "button state", buttonState, "rendering mode", renderModeString) [instance: 1, cache: 1]; RECresNull = Inquire( RECresolution, "is null + 1") [instance: 4, cache: 1]; ImageResolution = Inquire( camera, "camera resolution") [instance: 5, cache: 1]; RECresolution = Switch( RECresNull, RECresolution, ImageResolution) [instance: 10, cache: 1]; RECaspectNull = Inquire( RECaspect, "is null + 1") [instance: 6, cache: 1]; ImageAspect = Inquire( camera, "camera aspect") [instance: 7, cache: 1]; RECaspect = Switch( RECaspectNull, RECaspect, ImageAspect) [instance: 11, cache: 1]; switchRECenable = Compute( "$0 == 0 ? 1 : (($2 == $3) && ($4 == $5)) ? ($1 == 1 ? 2 : 3) : 4", RECenable, switchRenderMode, RECresolution, ImageResolution, RECaspect, ImageAspect) [instance: 4, cache: 1]; NoRECobject, RECNoRerenderObject, RECNoRerHW, RECRerenderObject = Route(switchRECenable, annoted_object); Display( NoRECobject, camera, where, throttle) [instance: 1, cache: 1]; image = Render( RECNoRerenderObject, camera) [instance: 1, cache: 1]; Display( image, NULL, where, throttle) [instance: 2, cache: 1]; WriteImage( image, RECfile, RECformat) [instance: 1, cache: 1]; rec_where = Display( RECNoRerHW, camera, where, throttle) [instance: 1, cache: 0]; rec_image = ReadImageWindow( rec_where) [instance: 1, cache: 1]; WriteImage( rec_image, RECfile, RECformat) [instance: 1, cache: 1]; RECupdateCamera = UpdateCamera( camera, resolution=RECresolution, aspect=RECaspect) [instance: 2, cache: 1]; Display( RECRerenderObject, camera, where, throttle) [instance: 1, cache: 1]; RECRerenderObject = ScaleScreen( RECRerenderObject, NULL, RECresolution, camera) [instance: 1, cache: 1]; image = Render( RECRerenderObject, RECupdateCamera) [instance: 2, cache: 1]; WriteImage( image, RECfile, RECformat) [instance: 2, cache: 1]; } main_Image_1_in_1 = "Image_1"; main_Image_1_in_3 = "X8,,"; main_Image_1_in_4 = 1; main_Image_1_in_5 = [0.116542 -0.221967 0.5]; main_Image_1_in_6 = [-0.0511719 -2.12562 6.21523]; main_Image_1_in_7 = NULL; main_Image_1_in_8 = 562; main_Image_1_in_9 = 0.8; main_Image_1_in_10 = [-0.00638923 0.948791 0.31584]; main_Image_1_in_11 = 30.0; main_Image_1_in_12 = 1; main_Image_1_in_13 = NULL; main_Image_1_in_14 = 1; main_Image_1_in_15 = NULL; main_Image_1_in_16 = NULL; main_Image_1_in_17 = NULL; main_Image_1_in_18 = NULL; main_Image_1_in_19 = 0; main_Image_1_in_20 = NULL; main_Image_1_in_21 = NULL; main_Image_1_in_22 = NULL; main_Image_1_in_23 = NULL; main_Image_1_in_25 = NULL; main_Image_1_in_26 = "tiff"; main_Image_1_in_27 = NULL; main_Image_1_in_28 = NULL; main_Image_1_in_29 = NULL; main_Image_1_in_30 = NULL; main_Image_1_in_31 = NULL; main_Image_1_in_32 = NULL; main_Image_1_in_33 = NULL; main_Image_1_in_34 = NULL; main_Image_1_in_35 = NULL; main_Image_1_in_36 = NULL; main_Image_1_in_37 = NULL; main_Image_1_in_38 = NULL; main_Image_1_in_39 = NULL; main_Image_1_in_40 = NULL; main_Image_1_in_41 = "pick"; main_Image_1_in_42 = NULL; main_Image_1_in_43 = NULL; main_Image_1_in_44 = NULL; main_Image_1_in_45 = NULL; main_Image_1_in_46 = NULL; main_Image_1_in_47 = NULL; main_Image_1_in_48 = NULL; Executive("product version 3 1 4"); $sync main();