- #1
aheight
- 321
- 109
Hi guys,
I have a webGL application and my understanding is there is no option or at least the option to make thick lines is not working so I thought I would try to write my own routine. I suppose I could just make a double plot of the data just off-set a bit but I'm not exactly sure how to do this for a complex contour in 3D space. Suppose I have a set of 3D points that I draw lines between to make my contour:
firstContour={{x1,y1,z1},{x2,y2,z2},...{xn,yn,zn}}
I can make some progress by drawing multiple lines:
secondContour={{x1+dx,y1+dy,z1+dz},{x2+dx,y2+dy,z2+dz},...,{xn+dx,yn+dy,zn+dz}}
and a third likewise. Not too bad except when the plot is zoomed you can see the three contours so looks a bit unprofessional.I was just wondering if anyone here knows of a standard better more elegant way of accomplishing this task?
Thanks for reading.
I have a webGL application and my understanding is there is no option or at least the option to make thick lines is not working so I thought I would try to write my own routine. I suppose I could just make a double plot of the data just off-set a bit but I'm not exactly sure how to do this for a complex contour in 3D space. Suppose I have a set of 3D points that I draw lines between to make my contour:
firstContour={{x1,y1,z1},{x2,y2,z2},...{xn,yn,zn}}
I can make some progress by drawing multiple lines:
secondContour={{x1+dx,y1+dy,z1+dz},{x2+dx,y2+dy,z2+dz},...,{xn+dx,yn+dy,zn+dz}}
and a third likewise. Not too bad except when the plot is zoomed you can see the three contours so looks a bit unprofessional.I was just wondering if anyone here knows of a standard better more elegant way of accomplishing this task?
Thanks for reading.
Last edited: