[pstricks] How do you reverse sign on axis labels

Buddy Ledger buddyledger at gmail.com
Sat Mar 15 01:39:20 CET 2014


The issue was resolved without re-inventing the wheel.  I was able to 
re-orient the figures using existing tools.  The solution below is 
adequate for my needs.  Sorry if I waste anyone's time.

\documentclass[]{article}
\usepackage[labelfont={rm,bf},textfont=rm,listformat=simple]{caption,subfig}
\usepackage{rotating}
\usepackage{pstricks-add}
\begin{document}
%NOZZLE POSITION
\psset{lly=-0.55in,llx=-0.55in,ury=0.25in,urx=0.15in,
         xAxisLabelPos={c,-0.35in},
         yAxisLabelPos={-0.5in,c}}
\psset{xEnd=,xStart=,decimals=2,valuewidth=50,fontscale=10,PstDebug=0}
\begin{sidewaysfigure}[!htbp]
\centering
\psset{xAxisLabel=\small y(mm), %Setup for psgraph env
         yAxisLabel=\small z(mm)}
\subfloat[Plan view.]{
\begin{psgraph}%
[axesstyle=frame,Dx=100,Dy=100,xsubticks=5,ysubticks=5,tickstyle=inner,Ox=-300,Oy=0,labelFontSize=\scriptstyle]%
(-300,-100)(300,900){2in}{!}
%%
\psdot(0,0)
\psset{linecolor=gray}
\multido{\i=352+89,\iz=1+1}{6}{%   z-dir
   \multido{\I=-223+89,\Iy=1+1}{6}{%    y-dir
     \psellipse(\I,\i)(22,22)
     \rput(\I,\i){\tiny \Iy\iz}}}
\psset{linecolor=black}
%%%
\end{psgraph}}
\psset{xAxisLabel=\small x(mm),llx=-0.125in,yAxisLabel=}%Setup for 
psgraph env
\subfloat[Side view.]{
\begin{psgraph}%
[axesstyle=frame,Dx=100,Dy=100,xsubticks=5,ysubticks=5,tickstyle=inner,labels=x,Ox=-600,Oy=0,labelFontSize=\scriptstyle]%
(-600,-100)(200,900){2.66777in}{!}
%
\psdot(0,0)
\psset{linecolor=gray}
\multido{\IA=330+89,\IB=375+89}{6}{%
     \psframe(-510,\IA)(100,\IB)
     %\rput(\IxC,-200){\tiny \iz\Iy}
}%
\psset{linecolor=black}
%
\end{psgraph}}
\caption[Air jet orientation and position.]{Air jet orientation and 
position.}
\label{fig:nozpos}
\end{sidewaysfigure}
\end{document}



More information about the PSTricks mailing list