nmacsai

260 Reputation

9 Badges

4 years, 65 days

MaplePrimes Activity


These are questions asked by nmacsai

Programatically assigning colors to points in geom3d not working.  I just want all the points drawn by the draw command, to be the same color.  The output does not respond to programatic specification of the object color.

Maple 2021 Help says: "

geom3d: draw command

calling sequence:
draw(obj,...)
draw([obj_1,...,obj_n],...)

A typical call to the draw function is draw([ obj_1(localopts_1),...,obj_n(localopts_n) ], globalopts) where obj_1, ..., obj_n are geometric objects, localopts_1, ..., localopts_n are local options for a particular object, and globalopts are  options which apply to all of the objects.

localopts_i is a sequence of type equation. The set of options allowed for localopts_i is color = red."

I tried: color = "Red", color = "red", color = Red, color=red.  The command goes through but the colors remain distinct per point.  You can use the context menu to change the color after the command goes through but it is inefficient for my purposes. 

Here is an image of it not working:


 

Setup:
I am working with a 'large' data set( ~70MB .csv file).  Using the import command I can import the data into a maple worksheet.  After import the dimension of the imported object 434000 rows by 30 columns.  The first 2 columns contain time stamp strings, the rest are numeric. 

Issue:
Importing this data set takes about 5 minutes everytime the command is called, which is everytime the worksheet is opened or re executed.  This is a lot of redundent processing.

Question:
Is there a way that I can import the data once and have it saved as a variable in the variable manager associated with the worksheet?  I want to avoid using the import command in a reduent manner.

First 6 7 8 Page 8 of 8