Undocumented Matlab
  • SERVICES
    • Consulting
    • Development
    • Training
    • Gallery
    • Testimonials
  • PRODUCTS
    • IQML: IQFeed-Matlab connector
    • IB-Matlab: InteractiveBrokers-Matlab connector
    • EODML: EODHistoricalData-Matlab connector
    • Webinars
  • BOOKS
    • Secrets of MATLAB-Java Programming
    • Accelerating MATLAB Performance
    • MATLAB Succinctly
  • ARTICLES
  • ABOUT
    • Policies
  • CONTACT
  • SERVICES
    • Consulting
    • Development
    • Training
    • Gallery
    • Testimonials
  • PRODUCTS
    • IQML: IQFeed-Matlab connector
    • IB-Matlab: InteractiveBrokers-Matlab connector
    • EODML: EODHistoricalData-Matlab connector
    • Webinars
  • BOOKS
    • Secrets of MATLAB-Java Programming
    • Accelerating MATLAB Performance
    • MATLAB Succinctly
  • ARTICLES
  • ABOUT
    • Policies
  • CONTACT

Handle graphics

Improving graphics interactivity

Matlab R2018b added default axes mouse interactivity at the expense of performance. Luckily, we can speed-up the default axes.

April 22, 2019 One Comment Read More »

Plot legend customization

Matlab plot legends and their internal components can be customized using a variety of undocumented properties that are easily accessible.

July 12, 2018 7 Comments Read More »

Customizing axes tick labels

Multiple customizations can be applied to tick labels.

January 24, 2018 5 Comments Read More »

Customizing histogram plots

Basic bar charts and histogram plots can be customized in important aspects.

January 17, 2018 No Comments Read More »

PlotEdit context-menu customization

A combination of Matlab and Java Robot commands to automate a certain animation can be used when we cannot access underlying GUI/graphics code.

December 13, 2017 No Comments Read More »

Customizing contour plots part 2

Matlab contour labels' color and font can easily be customized.

November 12, 2017 9 Comments Read More »

Matlab GUI training seminars – Zurich, 29-30 August 2017

Advanced Matlab training courses on Matlab User Interfaces (GUI) will be presented in Zurich Switzerland on 29-30 August, 2017

August 4, 2017 No Comments Read More »

Customizing axes part 5 – origin crossover and labels

The axes rulers (axles) can be made to cross-over at any x,y location within the chart.

July 27, 2016 10 Comments Read More »

Graphic sizing in Matlab R2015b

Matlab release R2015b's new "DPI-aware" nature broke some important functionality. Here's what can be done...

January 20, 2016 8 Comments Read More »

Customizing contour plots

Contour labels, lines and fill patches can easily be customized in Matlab HG2.

November 18, 2015 12 Comments Read More »
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
Useful links
  •  Email Yair Altman
  •  Subscribe to new posts (email)
  •  Subscribe to new posts (feed)
  •  Subscribe to new posts (reader)
  •  Subscribe to comments (feed)
 
Accelerating MATLAB Performance book
Recent Posts

Speeding-up builtin Matlab functions – part 3

Improving graphics interactivity

Interesting Matlab puzzle – analysis

Interesting Matlab puzzle

Undocumented plot marker types

Matlab toolstrip – part 9 (popup figures)

Matlab toolstrip – part 8 (galleries)

Matlab toolstrip – part 7 (selection controls)

Matlab toolstrip – part 6 (complex controls)

Matlab toolstrip – part 5 (icons)

Matlab toolstrip – part 4 (control customization)

Reverting axes controls in figure toolbar

Matlab toolstrip – part 3 (basic customization)

Matlab toolstrip – part 2 (ToolGroup App)

Matlab toolstrip – part 1

Categories
  • Desktop (45)
  • Figure window (59)
  • Guest bloggers (65)
  • GUI (165)
  • Handle graphics (84)
  • Hidden property (42)
  • Icons (15)
  • Java (174)
  • Listeners (22)
  • Memory (16)
  • Mex (13)
  • Presumed future risk (394)
    • High risk of breaking in future versions (100)
    • Low risk of breaking in future versions (160)
    • Medium risk of breaking in future versions (136)
  • Public presentation (6)
  • Semi-documented feature (10)
  • Semi-documented function (35)
  • Stock Matlab function (140)
  • Toolbox (10)
  • UI controls (52)
  • Uncategorized (13)
  • Undocumented feature (217)
  • Undocumented function (37)
Tags
ActiveX (6) AppDesigner (9) Callbacks (31) Compiler (10) Desktop (38) Donn Shull (10) Editor (8) Figure (19) FindJObj (27) GUI (141) GUIDE (8) Handle graphics (78) HG2 (34) Hidden property (51) HTML (26) Icons (9) Internal component (39) Java (178) JavaFrame (20) JIDE (19) JMI (8) Listener (17) Malcolm Lidierth (8) MCOS (11) Memory (13) Menubar (9) Mex (14) Optical illusion (11) Performance (78) Profiler (9) Pure Matlab (187) schema (7) schema.class (8) schema.prop (18) Semi-documented feature (6) Semi-documented function (33) Toolbar (14) Toolstrip (13) uicontrol (37) uifigure (8) UIInspect (12) uitools (20) Undocumented feature (187) Undocumented function (37) Undocumented property (20)
Recent Comments
  • matt (1 day 9 hours ago): There is no Edge in quiver, so this workaround will not help.
  • matt (1 day 9 hours ago): I very much wanted this to work with Quiver, and it does as long as the number of points is not too big. Using 2018a, I get the warnings/errors above even if placed in a single call to...
  • matse (6 days 18 hours ago): Is there a possibility to rotate the controllib.widget.Slider? So to have it vertical? Thanks!
  • Yair Altman (11 days 21 hours ago): Perhaps it’s because the table is empty, I don’t know. In any case, I think you can ignore this error, I don’t think that it affects the functionality.
  • Yeah (12 days 0 hours ago): I have the “Exception in thread “AWT-EventQueue-0″ java.lang.NullPointerException ” proplem.. and I add these lines in my function. the java warning message...
  • Yair Altman (22 days 2 hours ago): I assume that you refer to the html tags example for uitable at the bottom of the article. If you click a uitable cell, you enter editor mode, and this may behave in an...
  • Ajay Krishna (22 days 7 hours ago): Hello Yair, i tried replicating the example with all the cells center aligned. The problem is when i click the 1st cell the text of neighbouring cell changes to white or it...
  • Vinicius (23 days 15 hours ago): I would just like to thank you for your fantastic work. I was looking for ages for a SIMPLE way to do this!
  • todd welti (33 days 15 hours ago): Is there any way to prevent Matlab opening axis props window when you quickly turn off/on a plot line from the plot browser? I find that most annoying.
  • Yair Altman (35 days 15 hours ago): Perhaps you tried to access the class before you used javaaddpath to add the JAR file to the classpath. If Matlab fails to find a class, then it will not be able to access it...
  • mukesh Muthu (35 days 15 hours ago): i get the following error , im using matlab 2016b-64bit if i use graph = com.mxgraph.view.mxGraph Undefined variable "com" or class "com.mxgraph.view.mxGraph". if i use graph =...
  • Sebastian Hölz (40 days 10 hours ago): OK, Been working on this again and found a solution which works in 2020a and 2020b. Below a working example which resets the KeyPressFcn for all ui-modes after activating...
  • JCFL (43 days 0 hours ago): I was trying the above trick to change the transparency of contour lines and wondering why not all the lines have changed — then I found your post. Thanks and your post saved me.
  • Patrick Fitzgerald (45 days 3 hours ago): Just a heads up to anyone else digging around for help related to this: if you assign BackrgoundColor to a pushbutton-style uicontrol, it seems to prevent you from...
  • Vasiliy (60 days 23 hours ago): Hi Yair, i’m trying to use the MonthChooserPanel class. com.mathworks.mwswing.MJUtilit ies.initJIDE; handles.jPanel = com.jidesoft.combobox.MonthCho oserPanel;...
Contact us
Undocumented Matlab © 2009 - Yair Altman
This website and Octahedron Ltd. are not affiliated with The MathWorks Inc.; MATLAB® is a registered trademark of The MathWorks Inc.
Scroll to top