<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>RE: [pstricks] Help with a Phase Diagram</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Sorry for what is likely a stupid question, but Herbert, when I latex the file you sent I get lots of errors, the first being<BR>
! LaTeX Error: Unknown option `dvipsnames' for package `pstricks'.<BR>
Then it sayes \definecolor is an Undefined control sequence.<BR>
Then with the colors all undefined they get spit out as text on the diagram, but the phase diagram itself looks OK.<BR>
<BR>
So I guess I'm missing something that gives me the dvipsnames option for pstricks?<BR>
<BR>
I'm on a Fedora Core 2 installation of Linux.<BR>
<BR>
Though I'm not working on any such thing right now, I don't like when I can't compile the examples (generously) given on the list.&nbsp; Any help appreciated.<BR>
<BR>
--Mike Dougherty<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: pstricks-bounces@tug.org on behalf of Herbert Voss<BR>
Sent: Tue 11/2/2004 12:32 AM<BR>
To: pstricks@tug.org<BR>
Subject: Re: [pstricks] Help with a Phase Diagram<BR>
<BR>
Professor Angelo R. Rossi wrote:<BR>
<BR>
&gt; I teach freshman chemistry and try to use pstricks as much as possible.&nbsp; For<BR>
&gt; example, I have used pstricks to draw a version of a phase diagram, but it<BR>
&gt; doesn't look all that great.&nbsp; Also, I would like to draw a beaker with water<BR>
&gt; and a solid at the bottom of the beaker in equilibrium with the liquid.<BR>
<BR>
you can stretch the image with \psscalebox<BR>
<BR>
Herbert<BR>
<BR>
<BR>
\documentclass[a4paper,12pt]{article}<BR>
\usepackage[dvipsnames]{pstricks}<BR>
\usepackage{pst-node}<BR>
<BR>
\SpecialCoor<BR>
\definecolor{gray95}{gray}{0.95}<BR>
\definecolor{gray90}{gray}{0.90}<BR>
\definecolor{gray85}{gray}{0.85}<BR>
\definecolor{gray80}{gray}{0.80}<BR>
\begin{document}<BR>
<BR>
\begin{pspicture}(-1.25,-0.75)(4,4)<BR>
&nbsp;&nbsp; \psframe[fillstyle=solid,fillcolor=cyan](4,4)<BR>
&nbsp;&nbsp; \pnode(1,1){A}\pnode(2.667,2){B}\pnode(3.7,3.6){C}<BR>
&nbsp;&nbsp; \pscustom[fillstyle=solid,fillcolor=gray80]{<BR>
&nbsp;&nbsp;&nbsp;&nbsp; \pscurve(0,0)(0.5,0.4)(A)<BR>
&nbsp;&nbsp;&nbsp;&nbsp; \pscurve(A)(B)(C)<BR>
&nbsp;&nbsp;&nbsp;&nbsp; \psline(C)(4,4|C)(4,0)(0,0)<BR>
&nbsp;&nbsp; }<BR>
&nbsp;&nbsp; \pscustom[fillstyle=solid,fillcolor=YellowGreen]{<BR>
&nbsp;&nbsp;&nbsp;&nbsp; \pscurve(0,0)(0.5,0.4)(A)<BR>
&nbsp;&nbsp;&nbsp;&nbsp; \psline(A)(0.9,4)(0,4)(0,0)<BR>
&nbsp;&nbsp; }<BR>
&nbsp;&nbsp; \pscircle*[linecolor=red](0,2){3pt}<BR>
&nbsp;&nbsp; \psframe[fillstyle=solid,fillcolor=gray95](C)(4,4)<BR>
&nbsp;&nbsp; \psline[linestyle=dashed,linewidth=1pt](0,2)(4,2)<BR>
&nbsp;&nbsp; \qdisk(A){3pt}\qdisk(B){3pt}\qdisk(C){3pt}<BR>
&nbsp;&nbsp; \uput[-90](1,0){\footnotesize 0.01}<BR>
&nbsp;&nbsp; \uput[-90](B|,0,0){\footnotesize 100}<BR>
&nbsp;&nbsp; \uput[-90](C|,0,0){\footnotesize 374}<BR>
&nbsp;&nbsp; \uput[180](0,1){\footnotesize 0.006}<BR>
&nbsp;&nbsp; \uput[180](0,0|C){\footnotesize 218}<BR>
&nbsp;&nbsp; \rput(2,-0.75){\footnotesize Temperature (C)}<BR>
&nbsp;&nbsp; \rput{90}(-1.25,2){\footnotesize Pressure (Atm)}<BR>
\end{pspicture}<BR>
<BR>
\end{document}<BR>
</FONT>
</P>

</BODY>
</HTML>