Skip to content
Snippets Groups Projects

Ids tweaks

Merged Antoine Merle requested to merge ids_tweaks into master
7 files
+ 163
69
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -44,6 +44,8 @@ for kk=1:info_pf_active.ntotcircuits
xlab{index} = [addcolor info_pf_active.coil{ii}.name 'out'];
end
xlab = strrep(xlab,'_','\_'); % since we need the tex interpreter for colors
shg
axis ij
ax = gca;
@@ -51,6 +53,6 @@ for kk=1:info_pf_active.ntotcircuits
xlabel('Element name. (red) Elemement belonging to circuit. (green) power supplies. (black) coils');
ylabel('Node');
title(['Circuit ' num2str(kk) ': ' info_pf_active.circuit{kk}.name])
set(ax,'Xtick', xti, 'Ytick', yti, 'XTickLabel', xlab, 'YTickLabel', ylab')
set(ax,'Xtick', xti, 'Ytick', yti, 'XTickLabel', xlab, 'YTickLabel', ylab', 'XTickLabelRotation', 90)
end
Loading