Coder Social home page Coder Social logo

xfigure's Introduction

xfigure - v1.6

Extended figure with additional interactive mouse controls.

xfigure demo

News:

  • 1.6 InfoText added. Simplifies adding textbox using cell array of strings. H.InfoText holds the handle.
  • 1.5 Cleaned up input parsing using inputParser. Minor changes to input.
  • 1.4 Added GKPF. Graphical Key Press Function. Ammends the default keypress with user defined keys. Use GKPF to add own hotkeys. Keep GKPF.m inside your project files.

Features

Mouse features

  • CTRL + click to rotate. Useful for any 3d Visualization
  • CTRL + scroll to zoom in and out
  • Middle mouse + drag to pan

Keyboard Hotkeys

  • G - to toggle Grid
  • CTRL+R to reset axis (beta)
  • Shift+S to snap the view.
  • Shift+P to save the current position and size of the figure window. Next time it loads, the figure with the same number will automatically assume the saved figure position.

Installation

Put xfigure.m and xfigure_KPF.m somewhere on your matlab path. Use GKPF.m as a template in each project where you want to override keypresses.

GKPF

Usage (Matlab 2014b)

[h1.fig,xf1] = xfigure;
h1.patch = patch(....);
h1.quiver = quiver3(...);
h1.light(1) = light;
h1.fig.KeyPressFcn = {@GKPF,xf1,h1};

xfigure's People

Contributors

cenmir avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.