11.05.2013 Views

Sistema multicanal para aquisiç˜ao de dados em um ... - CBPFIndex

Sistema multicanal para aquisiç˜ao de dados em um ... - CBPFIndex

Sistema multicanal para aquisiç˜ao de dados em um ... - CBPFIndex

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

193 }<br />

194 i f ( ! f i l e −>I s D i r e c t o r y ( ) && fname . EndsWith ( "_800mV.txt" ) ) {<br />

195 in . open ( absdirname + fname , i f s t r e a m : : in ) ;<br />

196 for ( int i =0; i > id >> amplitu<strong>de</strong> ;<br />

198 h i s t [17]−> F i l l ( amplitu<strong>de</strong> ) ;<br />

199 }<br />

200 in . c l o s e ( ) ;<br />

201 }<br />

202 i f ( ! f i l e −>I s D i r e c t o r y ( ) && fname . EndsWith ( "_900mV.txt" ) ) {<br />

203 in . open ( absdirname + fname , i f s t r e a m : : in ) ;<br />

204 for ( int i =0; i > id >> amplitu<strong>de</strong> ;<br />

206 h i s t [18]−> F i l l ( amplitu<strong>de</strong> ) ;<br />

207 }<br />

208 in . c l o s e ( ) ;<br />

209 }<br />

210 i f ( ! f i l e −>I s D i r e c t o r y ( ) && fname . EndsWith ( "_1000mV.txt" ) ) {<br />

211 in . open ( absdirname + fname , i f s t r e a m : : in ) ;<br />

212 for ( int i =0; i > id >> amplitu<strong>de</strong> ;<br />

214 h i s t [19]−> F i l l ( amplitu<strong>de</strong> ) ;<br />

215 }<br />

216 in . c l o s e ( ) ;<br />

217 }<br />

218 }<br />

219 } else {<br />

220 cout S e t F i l l C o l o r ( 0 ) ;<br />

228 c1−>SetGridx ( ) ;<br />

229 c1−>SetGridy ( ) ;<br />

230 c1−>GetFrame ( )−>SetBor<strong>de</strong>rSize ( 6 ) ;<br />

231 c1−>GetFrame ( )−>SetBor<strong>de</strong>rMo<strong>de</strong> (−1) ;<br />

232 c1−>cd ( ) ;<br />

233 // Configurando e plotando todos histogramas no mesmo g r á f i c o ,<br />

234 // fazendo a j u s t e <strong>de</strong> g aussianas nos histogramas e alimentando o<br />

97

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!