Dealing with plots, manipulation of the axis and the view
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
i have the folow data
solvente=[5483 554 4012 69 776 64
939 74 1112 13 254 24
934 85 1121 13 242 21
1735 158 1140 23 298 34
673 41 413 6 125 22
1060 40 843 3 265 148]
bar(solvente,.5, 'grouped');
legend(['CDCl_3 ==> ' num2str(sum(solvente(:,1))*100/sum(sum(solvente))) '%'' ' '(' num2str(sum(solvente(:,1))) ')']...
, ['D_2O ==> ' num2str(sum(solvente(:,2))*100/sum(sum(solvente))) '%'' ' '(' num2str(sum(solvente(:,2))) ')' ]...
, ['DMSO ==> ' num2str(sum(solvente(:,3))*100/sum(sum(solvente))) '%'' ' '(' num2str(sum(solvente(:,3))) ')' ] ...
, ['Acetone-d_6 ==> ' num2str(sum(solvente(:,4))*100/sum(sum(solvente))) '%'' ' '(' num2str(sum(solvente(:,4))) ')' ]...
, ['MeOH-d_4 ==> ' num2str(sum(solvente(:,5))*100/sum(sum(solvente))) '%'' ' '(' num2str(sum(solvente(:,5))) ')' ] ...
, ['Pyridine ==> ' num2str(sum(solvente(:,6))*100/sum(sum(solvente))) '%'' ' '(' num2str(sum(solvente(:,6))) ')' ]);
title('Deutareted solvent used in NMR Analisys')
ylabel('Quantity of analisys')
The row represents the analisys 1= Proton 2= HMQC 3= HMBC 4= Carbon 13 5= DEPT 6= NOESY
i would like to change the value in xaxis to the strings above
And the first column that belongs to hidrogen analisys the values is to big and the view of the graph for others is prejudicated. How can i show this graph showing the values to others analisys and givving an increment to the hidrogens bars or somthing like that
0 comentarios
Respuesta aceptada
Jan
el 25 de Oct. de 2011
For the first part:
set(gca, 'XTick', 1:6, ...
'XTickLabel', {'Proton', 'HMQC', 'HMBC', 'Carbon', 'DEPT', 'NOESY'});
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Annotations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!