Info

此问题已关闭。 请重新打开它进行编辑或回答。

Loading images with different ranges on one axes in GUI

1 次查看(过去 30 天)
Im working on GUI in which I have a list of images from which a user selects one and it gets displayed on the axes. However, each image has its own x and y axis range. What I need is when the user selects any image, its x and y axis values gets displayed on the axes. Please help me on this. I know how to do it for one image but having problem in case of multiple images with different axes range
  3 个评论
amna chaudhary
amna chaudhary 2018-4-28
like for example on x axis the image contains molecular weights in a specific range e.g 1000-5000 and on y axis pI values ranging from 4.5-7. but these values are different for each image
Ameer Hamza
Ameer Hamza 2018-4-28
You can change XLim and YLim property of axis object, according to the image selection. You can save XLim and YLim values corresponding to each image in an array and one user select an image, just check that array to see what values need to be set.

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by