⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node85.html

📁 htmdoc for html coding
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2 Final//FR"><!-- Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) --><!-- by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --><!-- Modified Simulog 03/97 --><HTML><HEAD><TITLE>5 Graphics</TITLE><LINK REL=STYLESHEET TYPE="text/css"	HREF="./Modulef.css" TITLE="Modulef CSS"><meta name="description" value="5 Graphics"><meta name="keywords" value="Guide6"><meta name="resource-type" value="document"><meta name="distribution" value="global"></HEAD><BODY BGCOLOR="#FFFFFF"><P> <IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM	ALT="Modulef"><A NAME=tex2html1468 HREF="node84.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif"	ALT="previous"></A><A NAME=tex2html1474 HREF="node63.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif"	ALT="up"></A><A NAME=tex2html1476 HREF="node86.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif"	ALT="next"></A><A NAME=tex2html1478 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif"	ALT="contents"></A><A HREF="../Guide6-18/node85.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM	ALT="[BIG]"></A><A HREF="../Guide6-14/node85.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM	ALT="[Normal]"></A><A HREF="../Guide6-10/node85.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM	ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html1477 HREF="node86.html">5.1 Color</A><B>Up: </B> <A NAME=tex2html1475 HREF="node63.html">Part III: Fortran 3D</A><B> Prev: </B> <A NAME=tex2html1469 HREF="node84.html">4.6 Texts</A><B><A HREF="node2.html"	>Contents</A></B><HR SIZE=3 WIDTH="75&#37;"><H1><A NAME=SECTION05500000000000000000>5 Graphics</A></H1>  <A NAME=chap_graphics>&#160;</A><P><BR><HR><P><P>The following subroutines  define  the graphics<A NAME=3225>&#160;</A> as well as  the line segments andtext aspects. Their effect is effective until the next call.<P><UL><LI><P><PRE>      SUBROUTINE DRAW3(I)      INTEGER I</PRE><P>defines the<A NAME=3227>&#160;</A> line graphics:<DL COMPACT><DT>.<DD> I = -1 :  no line  <DT>.<DD> I =  0  :  solid line  <DT>.<DD> I <b>&gt;</b> 0  : interpretation depending on the terminal used (dotted, dashed, mixed,...)<P> </DL><P><LI><P><PRE>      SUBROUTINE THICK(EPAIS)      REAL EPAIS</PRE><P>defines the line thickness<A NAME=3230>&#160;</A> in mm.<P><LI><P><PRE>       SUBROUTINE LIGH3(INTENS, CLIGNO, COULEU)       INTEGER INTENS, CLIGNO, COULEU</PRE><P>where:<UL><LI> INTENS defines the<A NAME=3232>&#160;</A> intensity level<A NAME=3233>&#160;</A> of the lines;<LI> CLIGNO defines the blinking<A NAME=3234>&#160;</A> of the lines;<LI> COULEU defines the number of the color<A NAME=3235>&#160;</A> of the lines         (index in the terminal color table: 0...NBCOLO-1 ). </UL>The interpretation of these parameters depend on the terminal used.<P><LI><P><PRE>      SUBROUTINE DRW3TX(TAILLE, SENS, POLICE)      REAL TAILLE, SENS                          INTEGER POLICE</PRE><P>defines the size<A NAME=3237>&#160;</A> and orientation of the text in 2D  (TXT2D) as well as in 3D (TXT3D), where:<UL><LI> TAILLE indicates the height of the characters in centimeters;<LI> SENS is the orientation of the text expressed as a fraction of PI/2 starting from the horizontal;<LI> POLICE indicates the set a characters used.</UL>Those parameters depend on the terminal. <P><P> <LI><P><PRE>      SUBROUTINE CTRTXT(ALPHA, BETA)      REAL ALPHA, BETA</PRE><P>defines the<A NAME=3240>&#160;</A> text frame box.The text is supposed to be in the box (0., 0.) (1., 1.).<P> ALPHA and BETA, lying between  0. and 1.,  indicate the desired centering  position in this box.<P><PRE>      SUBROUTINE LIMITS(I)      INTEGER I</PRE><P>places the window<A NAME=3241>&#160;</A> on the screen  using lines of type I (see DRAW3).<P><PRE>      SUBROUTINE HACHUR(CONTOU,N,ANGLE,DISTAN,TYPE,EPAIS,INTENS,CLIGNO,                        COULEU,NMOTIF,ACTION)      INTEGER NMOTIF,TYPE(NMOTIF),INTENS(NMOTIF),CLIGNO(NMOTIF),              COULEU(NMOTIF)      REAL CONTOU(4, N), ANGLE, DISTAN(NMOTIF), EPAIS(NMOTIF)      EXTERNAL ACTION</PRE><P>plots the hachure<A NAME=3242>&#160;</A>, at  an<A NAME=3243>&#160;</A> angle ANGLE with respect to the horizontal, in the contourdefined by  CONTOU.<P> CONTOU(4, N) defines the contour by a set  of N line segments (X1, Y1)(X2, Y2)(in centimeters) where:<PRE>     CONTOU(1, I) = X1     CONTOU(2, I) = Y1     CONTOU(3, I) = X2     CONTOU(4, I) = Y2</PRE><P> The segments do not have to be adjoining and can thus define contours with holes. The definition of the haching motifs is done by 2 types of parameters:<P><UL><LI>  DISTAN(NMOTIF): Distance between the motif's haching;<LI>  TYPE(NMOTIF), EPAIS(NMOTIF), INTENS(NMOTIF), CLIGNO(NMOTIF) and COULEU(NMOTIF) definethe motif's haching texture, i.e. the type,  thickness, intensity, flashing and color. </UL><P>The  I<IMG BORDER=0 ALIGN=BOTTOM ALT="" SRC="img134.gif"> texture is plotted at distance, DISTAN(I-1), modulo NMOTIF, i.e, loop:<P><blockquote> &quot; Plot texture 1, move a distance DISTAN(1); <BR>             plot texture  2, move by DISTAN(2);  <BR>             etc.; <BR>             plot texture NMOTIF, move DISTAN(NMOTIF); <BR>             start again ... end of loop. &quot;  <P><P></blockquote></UL><P><P><P><BR> <HR><UL> <LI> <A NAME=tex2html1479 HREF="node86.html#SECTION05510000000000000000">5.1 Color</A><LI> <A NAME=tex2html1480 HREF="node87.html#SECTION05520000000000000000">5.2 Stereoscopy</A></UL><HR SIZE=3 WIDTH="75&#37;"><IMG SRC="../icons/smallmod.gif" WIDTH=211 HEIGHT=50 ALIGN=BOTTOM	ALT="Modulef"><A NAME=tex2html1468 HREF="node84.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/previous_motif.gif"	ALT="previous"></A><A NAME=tex2html1474 HREF="node63.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/up_motif.gif"	ALT="up"></A><A NAME=tex2html1476 HREF="node86.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/next_motif.gif"	ALT="next"></A><A NAME=tex2html1478 HREF="node2.html"><IMG BORDER=0 ALIGN=BOTTOM SRC="../icons/contents_motif.gif"	ALT="contents"></A><A HREF="../Guide6-18/node85.html"><IMG BORDER=0 SRC="../icons/zoom18.gif" ALIGN=BOTTOM	ALT="[BIG]"></A><A HREF="../Guide6-14/node85.html"><IMG BORDER=0 SRC="../icons/zoom14.gif" ALIGN=BOTTOM	ALT="[Normal]"></A><A HREF="../Guide6-10/node85.html"><IMG BORDER=0 SRC="../icons/zoom10.gif" ALIGN=BOTTOM	ALT="[small]"></A><BR><B> Next: </B> <A NAME=tex2html1477 HREF="node86.html">5.1 Color</A><B>Up: </B> <A NAME=tex2html1475 HREF="node63.html">Part III: Fortran 3D</A><B> Prev: </B> <A NAME=tex2html1469 HREF="node84.html">4.6 Texts</A><B><A HREF="node2.html"	>Contents</A></B><BR> <HR><P><ADDRESS></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -