matlab - How can I combine multipe x-axis while using the same y-axis? -
i trying plot wake velocity deficient behind object @ different streamwise positions (pos.1, 2 , 3) behind object.
a rough sketch of how graph should shown below. x-axis represents velocity , y-axis coordinate normal flow.

how can restart x-axis such data of each position plotted in it's own space, resembling it's actual position in flow.
you consider plotting data on single x-axis offset , changing label of x-axis ticks.
consider x-vector x_pos1 first position, second , third similar addition of offset. e.g. offset = 15; x_pos2 = x_pos1+offset;
you can obtain , change x-axis tick label by:
get(gca, 'xticklabel') set(gca, 'xticklabel', yourlabelhere)
Comments
Post a Comment