Hello everyone... I was hoping an R wizard could help me out with this one. My current R programming endeavors require that I generate plots of groundwater state variables (e.g. pressure fields, contaminate plumes, etc.) in a 2-D slice of a 3-D system. While the functions contour() and filled.contour() are close to what I’m looking for, they unfortunately lack in their inability to deal with irregular boundaries (non-rectangular systems). The irregular systems I’m working with are made up of finite elements (each 2-D element constructed from 3 or 4 nodes) where linear basis functions describe every point (x,y) in the element. I believe I could deal with my plotting dilemma if I had a function very similar to “.Internal(filledcontour())”. A function, which would allow me to specify contours or colors between contours within an element. If someone could give me a hand on this project or point me towards helpful resources, it would be greatly appreciated. Regards, Jason PS: If any additional information is needed, please ask. *************************************** Jason C. Fisher UCLA Graduate Student Civil & Environmental Engineering Dept. 5731 Boelter Hall Box 951593 Los Angeles, CA 90095-1593 Phone Number: (310) 825-2292 Email: stormplot at hotmail.com *************************************** _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*.
Hello everyone... I was hoping an R wizard could help me out with this one. My current R programming endeavors require that I generate plots of groundwater state variables (e.g. pressure fields, contaminate plumes, etc.) in a 2-D slice of a 3-D system. While the functions contour() and filled.contour() are close to what I’m looking for, they unfortunately lack in their inability to deal with irregular boundaries (non-rectangular systems). The irregular systems I’m working with are made up of finite elements (each 2-D element constructed from 3 or 4 nodes) where linear basis functions describe every point (x,y) in the element. I believe I could deal with my plotting dilemma if I had a function very similar to “.Internal(filledcontour())”. A function, which would allow me to specify contours or colors between contours within an element. If someone could give me a hand on this project or point me towards helpful resources, it would be greatly appreciated. Regards, Jason PS: If any additional information is needed, please ask. *************************************** Jason C. Fisher UCLA Graduate Student Civil & Environmental Engineering Dept. 5731 Boelter Hall Box 951593 Los Angeles, CA 90095-1593 Phone Number: (310) 825-2292 Email: stormplot at hotmail.com ***************************************
Jason Fisher wrote:> > Hello everyone... > > I was hoping an R wizard could help me out with this one. My current R > programming endeavors require that I generate plots of groundwater state > variables (e.g. pressure fields, contaminate plumes, etc.) in a 2-D slice of > a 3-D system. While the functions contour() and filled.contour() are close > to what I?m looking for, they unfortunately lack in their inability to deal > with irregular boundaries (non-rectangular systems). The irregular systems > I?m working with are made up of finite elements (each 2-D element > constructed from 3 or 4 nodes) where linear basis functions describe every > point (x,y) in the element. I believe I could deal with my plotting dilemma > if I had a function very similar to ?.Internal(filledcontour())?. A > function, which would allow me to specify contours or colors between > contours within an element. If someone could give me a hand on this project > or point me towards helpful resources, it would be greatly appreciated. > > Regards, > > Jason > > PS: If any additional information is needed, please ask.What about setting non-existing points of your system to NA (will result in "white space") in that matrix you use for filled.contour()? Uwe