Prev: Edit Text GUI
Next: Cross-tabulation with proportions?
From: Zukri on 11 Jul 2010 13:29 Hi there. I've got a small problem on configuring the X-axis on the MatLab graphs. Currently, my data for the X-axis are in the power of -7 i.e. 0.05E-7 to 0.6E-7. I want the X-axis to show up Microns in for e.g. 0.05 to 0.6. I can use x-label to show that its in Microns but I have problem changing the values on the graph itself. How do I go about doing this?
From: Jan Simon on 11 Jul 2010 15:31 Dear Zukri, > I've got a small problem on configuring the X-axis on the MatLab graphs. Currently, my data for the X-axis are in the power of -7 i.e. 0.05E-7 to 0.6E-7. > > I want the X-axis to show up Microns in for e.g. 0.05 to 0.6. > > I can use x-label to show that its in Microns but I have problem changing the values on the graph itself. Just change the XData of the plotted objects. I cannot give a more specific answer, because you do not mention, how your plots have been created. But look at this example: x = 0:0.001:2*pi y = sin(x); figure; plot(x, y); figure; plot(x/1e6, y); Good luck, Jan
From: Zukri on 11 Jul 2010 18:05 Thanks alot! Didnt think of that! :D
|
Pages: 1 Prev: Edit Text GUI Next: Cross-tabulation with proportions? |