12.07.2015 Views

graphics with PSTric..

graphics with PSTric..

graphics with PSTric..

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

More on Coordinates2Coordinate gridsChanging size\begin{pspicture}(-2,-1)(3,2)\psgrid\end{pspicture}10-1-2 -1 0 1 2 3Another type of coordinatesMore special coordinatesChanging the systemSetting parametersThere are various parameters which control the look of the grid which canbe tweaked to produce custom grids. See the table below:parameter meaning default examplesubgriddivThe number ofsubdivisions of themain grid5\psgrid[subgriddiv=1]%(0,0)(2,1)100 1 2Online L A T E X TutorialPart II – Graphics<strong>PSTric</strong>ks1gridwidthThe width of lines inthe main grid0.8 pt\psgrid[gridwidth=2pt]%(0,0)(2,1)00 1 21subgridwidthgriddotssubgriddotsThe width of lines inthe subgridIf this number ispositive, then themain grid lines aredotted, <strong>with</strong> thatmany dots perdivisionIf this number ispositive, then thesubgrid lines aredotted, <strong>with</strong> thatmany dots perdivision0.4 pt00\psgrid[gridwidth=2pt,%subgridwidth=1pt]%(0,0)(2,1)\psgrid[griddots=10,%subgriddiv=1]%(0,0)(2,1)\psgrid[subgriddots=10]%(0,0)(2,1)00 1 2100 1 2100 1 2E Krishnan, CV Radhakrishnan and AJ Alexconstitute the <strong>graphics</strong> tutorial team.Comments and suggestions may be mailed totutorialteam@tug.org.inc○2002, 2003, The Indian T E X Users GroupThis document is generated by PDFT E X <strong>with</strong>hyperref, pstricks, pdftricks and pdfscreenpackages in 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£ ¡ ¢ ¤ ¥ ¦ © 5/23

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

Saved successfully!

Ooh no, something went wrong!