Sample 39179: Mandelbrot Set
This sample uses the GCONTOUR procedure to produce a Mandelbrot set. The sample data set, MANDELBROT, can be downloaded from the SAS Technical Support FTP download site.
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
goptions hsize=6 vsize=4;
ods listing close;
ods html path='.' body="mandelbrot.html" ;
title "Mandelbrot Plot";
pattern1 v=solid c=CX003366;
pattern2 v=solid c=CX336699;
pattern3 v=solid c=CX6699CC;
pattern4 v=solid c=CX99CCFF;
pattern5 v=solid c=CX006633;
pattern6 v=solid c=CX339966;
pattern7 v=solid c=CX66CC99;
pattern8 v=solid c=CX99FFCC;
pattern9 v=solid c=CX336600;
pattern10 v=solid c=CX669933;
pattern11 v=solid c=CX99CC66;
pattern12 v=solid c=CXCCFF99;
pattern13 v=solid c=CX663300;
pattern14 v=solid c=CX996633;
pattern15 v=solid c=CXCC9966;
pattern16 v=solid c=CXFFCC99;
pattern17 v=solid c=CX660033;
pattern18 v=solid c=CX993366;
pattern19 v=solid c=CXCC6699;
pattern20 v=solid c=CXFF99CC;
pattern21 v=solid c=CX003366;
pattern22 v=solid c=CX663399;
pattern23 v=solid c=CX9966CC;
pattern24 v=solid c=CXCC99FF;
pattern25 v=solid c=CX003366;
pattern26 v=solid c=CX663399;
pattern27 v=solid c=CX9966CC;
pattern28 v=solid c=CXCC99FF;
pattern29 v=solid c=CX003366;
pattern30 v=solid c=CX663399;
pattern31 v=solid c=CX9966CC;
pattern32 v=solid c=CXCC99FF;
pattern33 v=solid c=CX003366;
pattern34 v=solid c=CX663399;
pattern35 v=solid c=CX9966CC;
pattern36 v=solid c=CXCC99FF;
pattern37 v=solid c=CX003366;
pattern38 v=solid c=CX663399;
pattern39 v=solid c=CX9966CC;
pattern40 v=solid c=CXCC99FF;
pattern41 v=solid c=black;
proc gcontour data=mandelbrot;
plot q*p=mesh / nolegend
pattern
join
levels = 5 to 45
name='mandelbrot';
run;
quit;
ods html close;
ods listing;
These sample files and code examples are provided by SAS Institute
Inc. "as is" without warranty of any kind, either express or implied, including
but not limited to the implied warranties of merchantability and fitness for a
particular purpose. Recipients acknowledge and agree that SAS Institute shall
not be liable for any damages whatsoever arising out of their use of this material.
In addition, SAS Institute will provide no support for the materials contained herein.
This sample uses the GCONTOUR procedure to produce a mandelbrot set.
Type: | Sample |
Topic: | SAS Reference ==> Procedures ==> GCONTOUR
|
Date Modified: | 2010-04-08 15:27:14 |
Date Created: | 2010-03-25 15:26:15 |
Operating System and Release Information
SAS System | SAS/GRAPH | z/OS | 9.2 TS2M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M0 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M0 | |
Microsoft® Windows® for x64 | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M0 | |
Microsoft Windows XP Professional | 9.2 TS2M0 | |
Windows Vista | 9.2 TS2M0 | |
64-bit Enabled AIX | 9.2 TS2M0 | |
64-bit Enabled HP-UX | 9.2 TS2M0 | |
64-bit Enabled Solaris | 9.2 TS2M0 | |
HP-UX IPF | 9.2 TS2M0 | |
Linux | 9.2 TS2M0 | |
Linux for x64 | 9.2 TS2M0 | |
OpenVMS on HP Integrity | 9.2 TS2M0 | |
Solaris for x64 | 9.2 TS2M0 | |