File: rotate_axes.sci

package info (click to toggle)
scilab-plotlib 0.41-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,196 kB
  • sloc: xml: 3,308; makefile: 15
file content (10 lines) | stat: -rw-r--r-- 331 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
function rotate_axes(h)
  global _catched _ref_info
  if or(h.user_data.eventHandlers=='plotlib_rotate_handler')
    return
  end
  _add_event_handler(get(h,'figure_id'),'plotlib_rotate_handler');
  _catched=[];
  _ref_info= h.info_message;
  h.info_message='Plotlib message: left-click on an axes to start rotation.';
endfunction