[Xy-pic] XY figure

Tigran Sarukhanyan sstigran at hotmail.com
Tue Jan 26 15:35:03 CET 2010


Hello everybody.
I've tried to draw some graph with caption using xygraph as folowing.
%------------------------------------------------------------------------------%\usepackage[all,dvips,graph]{xy}%\usepackage{subfig,graphicx}
\begin{figure}[tbp]\centering\subfloat[Subcaption for First Part]{\label{subfig:continued:first} %% label for first subfigureSome text here:1.\quad\[ \mbox{ \xygraph{!{<0cm,0cm>;<1cm,0cm>:<0cm,1cm>::}!{(0,0) }*+{\bullet_{a}}!{(1,1) }*+{\bullet_{b}}!{(2,0) }*+{\bullet_{c}}!{(3,-1)}*+{\bullet_{d}}} } \]\caption{Example of Continued Figure (Empty graph)}\label{fig:continued:first} %% label for first figure\end{figure}
\ref{subfig:continued:first}%------------------------------------------------------------------------------
The first problem is that the figure appears at the top of the page, above the text "Some text here:".And the second problem is that the command \ref types 11.1 instead of 1.1( how to refer to the figure by clicking on (1.1)).
Best thanks.  

 		 	   		  
_________________________________________________________________
Keep your friends updated—even when you’re not signed in.
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xy-pic/attachments/20100126/302b0b70/attachment.html>


More information about the xy-pic mailing list