|
From: Matt K. <mk...@sg...> - 2005-05-05 15:13:45
|
Hi, I was just messing around plotting some examples and I found the following: set dummy u,v set key right below Right noreverse noinvert enhanced box linetype -2 linewidth 1.000 samplen 4 spacing 1 width 0 height 0 autotitles set parametric set view 50, 30, 1, 1 set isosamples 50, 20 set hidden3d offset 1 trianglepattern 3 undefined 1 altdiagonal bentover set ticslevel 0 set title "Interlocking Tori" 0.000000,0.000000 font "" set urange [ -3.14159 : 3.14159 ] noreverse nowriteback set vrange [ -3.14159 : 3.14159 ] noreverse nowriteback set zrange [ * : * ] noreverse nowriteback # (currently [-3.00000:1.50000] ) splot cos(u)+.5*cos(u)*cos(v),sin(u)+.5*sin(u)*cos(v),.5*sin(v) with lines, 1+cos(u)+.5*cos(u)*cos(v),.5*sin(v),sin(u)+.5*sin(u)*cos(v) with lines Is there an easier way to plot this, like instead of me typing each command on each line one at a time is there a way to put the above in a file and then just plot the file? Thanks for the help, Matt ************DISCLAIMER************* This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee, please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that using, disclosing, copying or distributing the contents of this information is strictly prohibited. ************DISCLAIMER************* |