[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding a legend for every new plot in a GUI?
From: |
mmuetzel |
Subject: |
Re: Adding a legend for every new plot in a GUI? |
Date: |
Mon, 19 Jun 2017 05:26:40 -0700 (PDT) |
try
P = [";" num2str(alpha) ";"] ;
semilogx(f,20*log10(abs(H)), P, 'linewidth',3)
or
P=num2str(alpha);
semilogx(f,20*log10(abs(H)), [";" P ";"], 'linewidth',3)
You should use square brackets to concatenate strings. I think you plotted
the sum: double(";") + double(P) + double(";")
--
View this message in context:
http://octave.1599824.n4.nabble.com/Adding-a-legend-for-every-new-plot-in-a-GUI-tp4683698p4683759.html
Sent from the Octave - General mailing list archive at Nabble.com.