« first day (2222 days earlier)      last day (990 days later) » 

5:23 PM
Hi @CrisLuengo , scatterplot is from the Communications Toolbox
 
5:37 PM
I had the exact same thoughts when I read the question until I found the change mentioned in the release notes
 
6:17 PM
@SardarUsama Ah, that’s why I couldn’t find it. Thanks for clarifying! Honestly, I find this weird. It’s weird that there’s a plotting function in a toolbox that does essentially the same thing as a standard function. And it’s weird that it uses a non-standard color scheme.
 
6:39 PM
Does anyone know why this global keyword is not honoured? tio.run/##TY05DsMgEEX7OcXvDFIK0wZZylUclsgCQwR2GstnJ4CLpJrR315U2/…
oh you have to use global on the inside and on the outside of the function definition
 
7:03 PM
@flawr if you make it into a nested function, you won’t need global, as the nested function has access to the parent’s workspace.
 
@CrisLuengo ah so this only works for nested functions, but you can't access the scope outside of any function like this?
too bad you can't use nested functions in a script in octave, you have to use a file
 
 
2 hours later…
8:52 PM
@flawr well, there’s evalin('caller'), but you probably want to avoid that. I also don’t know what that does in a function handle used in a different context.
 

« first day (2222 days earlier)      last day (990 days later) »