I am creating a table with one row and many columns (just over a million). I would like to make it so that the width of the table (column of row numbers, column of data, and vertical scroll bar) fit perfectly inside the space Matlab gives it.
If i only had a few rows, I could use the extent property to get the size of the scrollable area and use that as the column width, but because there are many rows, I need a vertical scroll bar whose space is not accounted for in the extent property. If I knew the width of the scroll bar, I could add that to the width from the extent property.
Does anyone know how Matlab determines the width of the vertical scroll bar? It appears that as I resize the figure window the scroll bar has a constant width, but I'm assuming it wouldn't just be a constant number of pixels or something, because it would change a lot from screen to screen.
If i only had a few rows, I could use the extent property to get the size of the scrollable area and use that as the column width, but because there are many rows, I need a vertical scroll bar whose space is not accounted for in the extent property. If I knew the width of the scroll bar, I could add that to the width from the extent property.
Does anyone know how Matlab determines the width of the vertical scroll bar? It appears that as I resize the figure window the scroll bar has a constant width, but I'm assuming it wouldn't just be a constant number of pixels or something, because it would change a lot from screen to screen.