ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Why is the figure not centered
@ 2010-03-12 16:29 Curiouslearn
  2010-03-12 16:50 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Curiouslearn @ 2010-03-12 16:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Can someone please tell me why the code below does not (horizontally)
center the figure? The caption is in the middle but the figure is not.

Thanks.

\usemodule[pgfplots]
\starttext

\placefigure[here][fig:demand]{Demand Curve}
{\starttikzpicture
	\startaxis[line width=1pt,
			   axis x line = bottom,
			   axis y line =left,
			   xmin=0,xmax=60,
			   ymax=120]
		\addplot[mark=none] coordinates {(0,100)
							  (50,0)};
	\stopaxis
\stoptikzpicture}

\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-12 17:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-12 16:29 Why is the figure not centered Curiouslearn
2010-03-12 16:50 ` Aditya Mahajan
2010-03-12 17:10   ` Curiouslearn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).