home *** CD-ROM | disk | FTP | other *** search
- /* This file illustrates the use of inverse and log axes */
-
- #include <splot.h>
- double *data;
- main()
- {
- set(LINEWIDTH,0.06);
- set(CURSYMBOL,OSQUARE);
- set(AXESCLIP,ON);
- set(FONTASPECT,1.5);
- set(AXESTYPE,INVXLOGY);
- axes_box(12,15,1e20,0.001,4,10);
- set(FONTWIDTH,0.8);
- tickmarks();
- ticklabel(BOTTOM,1e+20,"0",20,"50",10,"100",6.6666,"150"
- ,5,"200",4,"250");
- ticklabel(LEFT,1e-3,"10^11^",1e-2,"10^12^",1e-1,"10^13^",1,"10^14^",10,"10^15^");
- set(XMULT,1);
- set(FONTWIDTH,0.9);
- label(BOTTOM,"1000/T");
- label(LEFT,"CARRIER CONCENTRATION");
- set(PLOTTYPE,SYMBOLS);
- readdata("demo\tb4_2_2.dat",data);
- plotdata(data);
- }
-
-