Hi, here is the code I'm using:
gplot(adj,NC,'-o')axis([0 W1 0 H1])xlabel('Width')ylabel('Height')title('MESH GRID (in global coordinates)')set(gca,'XTick',0:w:W1)set(gca,'YTick',0:h:H1)
'adj' is the adjacency matrix and 'NC' is the matrix of nodes' coordinates. The thing is when the amount of nodes is quite large, tick labels on the x-axis nearly collide and so I want them to be displayed vertically. I know how to use 'XTicksLabelStyle = Vertical' within the 'plot' function, but 'gplot' does not seem to be supporting that parameter. So how should I do that using 'gplot'?
Best Answer