Very helpful, thank you! This should be standard in matlab, the gap between subplots is such a waste of space.
One thing missing from this function is the ability to merge two subplot areas into a larger plot area for some charts, e.g. subplot(3,2,[1 3]) will make the top left subplot occupy spot 1 and 3 (and so be double size vertically). Can this be added to subplot1 somehow?
Thanks Andrew, this is extremely helpful. It seems to have a little issue when using subplot and applying rotation to all axes. (e.g. subplot(3,2,x) and then applying roration to each of the subplots - for some plots the text just disappears. R2010b)
Hi,
I've now managed to open the tool but when I try to import data from excel I get the following error. Can someone help me please? Is it important how the dates are defined in Excel?
Error using datestr (line 179)
Cannot convert input into specified date string.
DATENUM failed.
Error in portfoliotool>updateImportDataPage (line 2095)
datesstr = cellstr(datestr(dates,handles.datestringformat));
Error in portfoliotool>button_dataimport_excelfile_import_Callback (line 2293)
updateImportDataPage(handles,prices,[],dates,priceslabels,[]);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in portfoliotool (line 25)
gui_mainfcn(gui_State, varargin{:});
Error in
@(hObject,eventdata)portfoliotool('button_dataimport_excelfile_import_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
thanks
Hi,
I'm still unable to open the portfoliotool.m
What is the exact code to do this? And where should the file be saved?
I don't have the optimization toolbox. Is that a problem?
thanks
Steven
Hi Gregoire,
The portfoliotool.fig is just the description of the different components of the GUI - to actually launch it, you should use the potfolio.m file.
Without the datafeed toolbox you will still be able to use most of the tool - you will not be able to import live data, though.
Hi,
Thanks!
When I load the code, and launch the portfoliotool.fig, it looks like the three pages are on the same layer and the figure is unreadable.
Anyone know how to solve this?
ps: don't have the datafeed toolbox
Comment only