I use the extract profile option and draw a line on the image. I get line profile as y-x plot but I can't understand it. Shouldn't it be z-x plot for a horizontal line?
If you are willing to switch from Image Plus I would highly recommend downloading Gwyddion, it an excellent free AFM image post-processing software and makes it very simple to get height profiles/3d images/etc.
I used both Gwyddion and WSxM softwares. as I mentioned in my question Gwyddion gives a y-x plot for extracting a profile. is y height of data points vs. their positions (x)? However, WSxM gives z-x plot. is z here height vs. position (x)? Are the plots from Gwyddion and WSxM same?