\documentclass{book}

\usepackage{pgfplots}
\usepackage{newfloat}
\usepackage{amsthm,amssymb,amsmath}
\usepackage[localise]{xepersian}
\settextfont{Vazir}
\DeclareFloatingEnvironment[
  fileext=lop,
  listname={فهرست نمودارها},
  name=Plot,
  placement=tp,
  %within=section,% activate it if you want
  %chapterlistsgaps=on,% only meaningful when chapters exist
]{plot}
\begin{document}
\listofplots
\begin{plot}
		\centering
\fbox{	
	\begin{tikzpicture}
\begin{axis}[
	y tick  label  style={
    /pgf/number format/1000 sep= },
	xlabel=\rl{توان مصرف شده بر حسب کیلووات},
	ylabel=\rl{تعداد ماشین‌های مجازی},
	legend style={at={(0.5,-0.3)},
	anchor=north,legend columns=-1},
	xbar=5pt,
	ymax=270,ymin=80,
	      bar width=0.9em,
	height=6cm,width=12cm,
		        nodes near coords,
]
\addplot 
	coordinates {(0.26,100) (0.33,150) 
		(0.45,200) (0.62,250)};
\addplot 
	coordinates {(0.25,100) (0.31,150)
		 (0.42,200) (0.61,250)};

\legend{ B\_M,S\_S}
\end{axis}
\end{tikzpicture}}
\caption{مقایسه مصرف انرژی با سیاست
\lr{MMT}
}
\label{ch1}
\end{plot}
\end{document}
