File: postscript.tex

package info (click to toggle)
sollya 8.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,592 kB
  • sloc: ansic: 124,655; yacc: 7,543; lex: 2,440; makefile: 888; cpp: 77
file content (22 lines) | stat: -rw-r--r-- 993 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
\subsection{postscript}
\label{labpostscript}
\noindent Name: \textbf{postscript}\\
\phantom{aaa}special value for commands \textbf{plot} and \textbf{externalplot}\\[0.2cm]
\noindent Library names:\\
\verb|   sollya_obj_t sollya_lib_postscript()|\\
\verb|   int sollya_lib_is_postscript(sollya_obj_t)|\\[0.2cm]
\noindent Description: \begin{itemize}

\item \textbf{postscript} is a special value used in commands \textbf{plot} and \textbf{externalplot} to save
   the result of the command in a postscript file.

\item As any value it can be affected to a variable and stored in lists.
\end{itemize}
\noindent Example 1: 
\begin{center}\begin{minipage}{15cm}\begin{Verbatim}[frame=single]
> savemode=postscript;
> name="plotSinCos";
> plot(sin(x),0,cos(x),[-Pi,Pi],savemode, name);
\end{Verbatim}
\end{minipage}\end{center}
See also: \textbf{externalplot} (\ref{labexternalplot}), \textbf{plot} (\ref{labplot}), \textbf{file} (\ref{labfile}), \textbf{postscriptfile} (\ref{labpostscriptfile})