<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear all,
<br>
<br>
sorry but in my last invoice I have forgotten to join the
revvcons.dat file <br>
<br>
1)
<br>
I don't understand why the code
<br>
<br>
\documentclass{minimal}
<br>
\usepackage{pstricks, pst-plot,pstricks-add}
<br>
<br>
\begin{document}
<br>
\begin{center}
<br>
\readdata[ignoreLines=1]{\data}{revvcons.dat}%
<br>
%\pstScalePoints(1,1){1989 sub}{}
<br>
\psset{xAxisLabel=PIB,yAxisLabel=Consommation,xAxisLabelPos={c,-0.4cm},yAxisLabelPos={-1.5cm,c}}
<br>
\begin{psgraph}[axesstyle=frame,Dx=10,Ox=1920,subticks=0,
Dy=1](1920,0)(1920,-1)(2011,1){12cm}{50mm}%
<br>
\listplot[linecolor=blue,linewidth=5pt,plotNo=3,plotNoMax=5]{\data}
<br>
\end{psgraph}
<br>
\end{center}
<br>
\end{document}
<br>
<br>
for the joined file give no errors but no prints -- in Bakoma.
<br>
<br>
2) I want not the graph to be boxed but I have not found the
command.
<br>
<br>
3) In what concerns pst-tools, I think I have not realy understud
your exemple.
<br>
<br>
Since I use Bakoma and it is not capable to handle pre process code,
I was wondering if the call to postscript was not a good solution.
Fo instance If I can transform the ps result in , for instance a tex
counter, I can use some other styles like ifthen to compute some
clause. And I coul also find the value of composed functions.
<br>
<br>
He is what I have in mind.
<br>
<br>
\documentclass{minimal}
<br>
\usepackage{pst-math,multido}
<br>
\usepackage{pst-tools}
<br>
\usepackage{calc}
<br>
\def\showPSVal{ gsave 0 0 translate 1 -1 scale
<br>
10 string cvs /Helvetica findfont 100 scalefont setfont show
grestore }
<br>
\SpecialCoor
<br>
\usepackage{ifthen}
<br>
\usepackage{calc}
<br>
\usepackage{settobox}
<br>
<br>
<br>
<br>
\SpecialCoor
<br>
<br>
\begin{document}
<br>
<br>
<br>
This works.
<br>
%%%%%%%%%%%%%
<br>
<br>
\newcommand{\fsin}[1]{
<br>
\psPrintValue [algebraic] {#1, sin(x)}}
<br>
\newcommand{\fcos}[1]{\psPrintValue [algebraic,VarName=cosa] {#1,
cos(x)}}
<br>
<br>
<br>
$\sin(2) =\, \fsin{2}$
<br>
\vspace{.25cm}
<br>
<br>
$\cos(1) =\, \fcos{1}$
<br>
<br>
\vspace{.25cm}
<br>
<br>
This doesn't work
<br>
\vspace{.25cm}
<br>
<br>
\newcommand{\fsq}[1]{\psPrintValue [algebraic] {#1, x<sup
class="moz-txt-sup"><span
style="display:inline-block;width:0;height:0;overflow:hidden">^</span>2</sup>}}
<br>
<br>
$3<sup class="moz-txt-sup"><span
style="display:inline-block;width:0;height:0;overflow:hidden">^</span>2</sup>
= \,\fsq{2}$
<br>
<br>
$\cos<sup class="moz-txt-sup"><span
style="display:inline-block;width:0;height:0;overflow:hidden">^</span>2</sup>(1)
= \fsq{cosa}$
<br>
<br>
\end{document}
<br>
<br>
<br>
Thanks for your answers and for all the very nice job done by the
pstricks contributers.
<br>
<br>
Cyrille Piatecki
</body>
</html>