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)
I think it is a good tool as you can see what you can do with a gui as well. The Yahoo download option is not working.
I do like is the flexibility of this tool.
Figured out the earlier problem re downloading the symbols, but how do you change the available symbol indices dropdown to include DJIA, NYSE, NASDAQ, etc?
Looking for some a little help...I'm trying to run portfoliotool.m but can not get past downloading the symbols.
For example: I select the ^GDAX, click download button and get an error message: "no appropriate method, property or field" any help is much appreciated. Thx.
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
Comment only