which property to be used for zooming in and out axes using slider in gui when usingr2010a software which dont have zoom property ? can we use reset property ? but how? finding it confusing ?! help needed !!

zooming in and out axes using SLIDER in horizontal direction and another slider for vertical direction

回答 (1 件)

use zoom(factor) inside your slider callback function.
function slider1_callback()
zoomFactor = get(hObject , 'value')
zoom(zoomFactor)
drawnow

カテゴリ

ヘルプ センター および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

質問済み:

2014 年 3 月 12 日

編集済み:

2014 年 3 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by