<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<span class="Apple-style-span" style="font-family: Tahoma, Verdana, Arial, sans-serif; color: rgb(68, 68, 68); ">Hello everybody.<br>I've tried to draw some graph with caption using xygraph as folowing.</span><div><font class="Apple-style-span" color="#444444" face="Tahoma, Verdana, Arial, sans-serif"><div><div><br></div><div><font class="Apple-style-span" color="#4F6128">%------------------------------------------------------------------------------</font></div><div><div><font class="Apple-style-span" color="#4F6128">%\usepackage[all,dvips,graph]{xy}</font></div><div><font class="Apple-style-span" color="#4F6128">%\usepackage{subfig,graphicx}</font></div><div><br></div></div><div><font class="Apple-style-span" color="#4F81BD">\begin</font>{figure}[tbp]</div><div><font class="Apple-style-span" color="#4F81BD">\centering</font></div><div><font class="Apple-style-span" color="#4F81BD">\subfloat</font>[Subcaption for First Part]{<font class="Apple-style-span" color="#4F81BD">\label</font>{subfig:continued:first} <font class="Apple-style-span" color="#4F6128">%% label for first subfigure</font></div><div><font class="Apple-style-span" color="#000000">Some text here:</font></div><div>1.<font class="Apple-style-span" color="#4F81BD">\quad</font></div><div><font class="Apple-style-span" color="#4F81BD">\[</font><font class="Apple-style-span" color="#4F81BD"> \mbox</font>{ <font class="Apple-style-span" color="#4F81BD">\xygraph</font>{</div><div>!{&lt;0cm,0cm&gt;;&lt;1cm,0cm&gt;:&lt;0cm,1cm&gt;::}</div><div>!{(0,0) }*+{\bullet_{a}}</div><div>!{(1,1) }*+{\bullet_{b}}</div><div>!{(2,0) }*+{\bullet_{c}}</div><div>!{(3,-1)}*+{\bullet_{d}}</div><div>} } <font class="Apple-style-span" color="#4F81BD">\]</font></div><div><font class="Apple-style-span" color="#4F81BD">\caption</font>{Example of Continued Figure (Empty graph)}</div><div><font class="Apple-style-span" color="#4F81BD">\label</font>{fig:continued:first} %% label for first figure</div><div><font class="Apple-style-span" color="#4F81BD">\end</font>{figure}</div><div><br></div><div><font class="Apple-style-span" color="#4F81BD">\ref</font>{subfig:continued:first}</div><div><font class="Apple-style-span" color="#4F6128">%------------------------------------------------------------------------------</font></div><div><br></div><div>The first problem is that the figure appears at the top of the page, above the text "<font class="Apple-style-span" color="#000000">Some text here:</font>".</div><div>And the second problem is that the command <font class="Apple-style-span" color="#4F81BD">\ref</font> types 11.1 instead of 1.1( how to refer to the figure by clicking on <font class="Apple-style-span" color="#4BACC6">(1.1)</font>).</div><div><br></div><div><font class="Apple-style-span" color="#000000"><b>Best thanks.</b></font> &nbsp;</div><div><br></div><div><br></div></div></font></div>                                               <br /><hr />Keep your friends updated— <a href='http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010' target='_new'>even when you’re not signed in.</a></body>
</html>