Open Patrik112358 opened 8 months ago
There is a built-in limitation of Matlab that causes plots with multiple Y axes (created using the yyaxis
function) to be exportable only if they are created in a standalone script or non-web-based figure, not in a Live Script or a live figure.
Reference: https://www.mathworks.com/help/matlab/ref/copyobj.html#bugxv3a_div
Hello, I'm running version 3.44 and I stumbled upon a problem when trying to export a figure with a plot using left & right yyaxis. While trying to come up with a minimal working (failing) example, I have discovered that this problem only seems to happen in Live scripts (
.mlx
). The exported figure is empty and the following warning is emitted:Same code in
.m
file produces figure normally.I'm not very well versed in Matlab, so if you need some more info to replicate this, I'll gladly try to provide.