fix legends for plots
I can't add legends to plots, and keep getting this error:
line 0: undefined variable: textcolor
1
vote
This error has been fixed by upgrading GNUPlot from version 4.2 to version 4.4.
-
Dmitry Messerman
commented
How one can get this patch?
-
Hi Christian,
I believe I have found your issue. I've implemented a patch that should fix the issue for the time being. Running the following snippet works for me:
fplot(@sin, [-pi pi])
legend("Sine Function")