Skip to content

Instantly share code, notes, and snippets.

@maskaravivek
Created May 23, 2020 00:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maskaravivek/11cf5df9a313d5aae74038a791406ad8 to your computer and use it in GitHub Desktop.
Save maskaravivek/11cf5df9a313d5aae74038a791406ad8 to your computer and use it in GitHub Desktop.
plotpca={'f1','f2','f3','f4','f5'};
for p=1:5
figure('Name',plotpca{p},'NumberTitle','off');
score_length = size(SCORE, 1);
tx_vect= SCORE(1:score_length, p);
scatter(1:score_length,tx_vect,'r')
xlabel('Timestamp in order')
ylabel("Feature Values("+ plotpca{p}+")")
saveas(gcf,strcat(feature_plots, strcat('Plot_',plotpca{p})), 'jpeg');
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment