12.07.2015 Views

graphics with PSTric..

graphics with PSTric..

graphics with PSTric..

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

\begin{pspicture}(0,0)(4,4)\psframe[linestyle=none,fillstyle=crosshatch*,hatchcolor=Tan,%hatchwidth=1pt,fillcolor=Apricot](0,0)(2,2)\pspolygon[linestyle=none,fillstyle=hlines*,hatchcolor=Mahogany,%hatchwidth=1pt,fillcolor=Tan](0,2)(2,2)(3,3)(1,3)\pspolygon[linestyle=none,fillstyle=vlines*,hatchcolor=Apricot,%hatchwidth=1pt,fillcolor=Mahogany](2,0)(3,1)(3,3)(2,2)\end{pspicture}Colorful TricksOrdinary colorsMore colorsFill—in styleCustom colorsFrom one color to anotherOnline L A T E X TutorialPart II – Graphics<strong>PSTric</strong>ksThe slant of the lines in the pattern is controlled by the hatchangleparameter and its default value is 45 (degrees). The next example showsthe effect of changing it.\begin{pspicture}(0,0)(3,3)\psframe[linestyle=none,%fillstyle=crosshatch*,%hatchcolor=Tan,%hatchwidth=1pt,%hatchangle=90,%fillcolor=Apricot]%(0,0)(2,2)\pspolygon[linestyle=none,%fillstyle=hlines*,%c○2002, 2003, The Indian T E X Users GroupThis document is generated by PDFT E X <strong>with</strong>hyperref, pstricks, pdftricks and pdfscreenpackages on an intel PC running GNU/LINUXand is released under LPPLThe Indian T E X Users GroupFloor iii, sjp Buildings, Cotton HillsTrivandrum 695014, indiahttp://www.tug.org.in£ ¡ ¢ ¤ ¥ ¦ © 10/19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!