# MATLAB: Global Position of Docked Figures window

docked figures

I am having difficulty accessing the global position of the docked "Figures" window. I have the units of the figures inside of the window set to pixels and when accessing the 'Position' property of one of those windows I get [1 1 L W], which means that it is somehow parented I guess (it is not at the bottom left of my monitors). However, there is no handle that I can find to the docked "Figures" window to access the global position. I am not sure if it makes a difference, but I have UI elements in each of the figures. Here's a really simple sample:
    fig=figure    set(fig,'WindowStyle','docked')    get(fig,'Position')
The output no matter where the figures window is globally located is:
ans =       1     1   some_length   some_width
Any help on this would be appreciated.

% create a dock figurefig = figure;set(fig,'WindowStyle','docked')get(fig,'Position')% get the Figure editor    desktop   = com.mathworks.mde.desk.MLDesktop.getInstance;container = desktop.getGroupContainer('Figures').getTopLevelAncestor;% get the dimensionswidth  = get(container.getSize,'width');height = get(container.getSize,'height');% get the originLocation = get(container.getAccessibleContext,'Location');Xorigin  = get(Location,'X');Yorigin  = get(Location,'Y');% displaydisp([Xorigin Yorigin width height])