Login / Get an account Logout
  • view
  • history

Revision 405ffe24dff85550b5a2ee0cd2034a2a20b77b9e (click the page title to view the current version)

Handling/CompAlgSystems4Golem/matlab/Demos/39187/Ul/code/script.m

ShotNo=39187
baseURL='http://golem.fjfi.cvut.cz/shots/';
diagnPATH='/Diagnostics/BasicDiagnostics/U_Loop.csv';
%Create a path to data
dataURL=strcat(baseURL,int2str(ShotNo),diagnPATH); 
% Write data from GOLEM server to a local file
urlwrite(dataURL,'LoopVoltage');
% Load data
data = load('LoopVoltage', '\t'); 
% Plot and save the graph 
f = figure('visible', 'off');
hold on
plot(data(:,1)*1000, data(:,2), '.') ;
xlabel('Time [ms]')
ylabel('U_l [V]')
hold off
print -djpeg plot.jpg
close(f)
exit;
If you have anything to contribute to this page, you are welcome to send us an email with a small description where and what you are offering. Thank you in advance. The GOLEM team. powered by gitit
Site
  • Front page
  • All pages
  • Categories
  • Random page
  • Recent activity
  • Upload a file
  • Atom feed feed icon
  • Help
This page
  • Raw page source
  • Printable version
  • Delete this page
  • Atom feed feed icon