help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave 4.03 x86 Plot problems


From: Doug Stewart
Subject: Re: Octave 4.03 x86 Plot problems
Date: Sun, 7 Aug 2016 11:05:46 -0400



On Sun, Aug 7, 2016 at 10:18 AM, Martin Marmsoler <address@hidden> wrote:
Sorry, I forgot to upload the script.

2016-08-07 16:14 GMT+02:00 Doug Stewart <address@hidden>:


On Sun, Aug 7, 2016 at 5:11 AM, Martin Marmsoler <address@hidden> wrote:
Hello,

I tried to plot some data from files in Octave. It works fine when I commented out the x & y labels. But when I turn them on, sometimes the plot stays white and sometimes there is something but completly wrong. Attached you can find the script: https://www.dropbox.com/sh/m5ujeyn35pgog8x/AACV5MaTdyKtxg29b3JqWUzja?dl=0
Dropbox says that that folder is empty !!

 
Hope someone can help me with it.

Best regards

Martin




_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave




--
DASCertificate for 206392




I think i see some things that might help.

I think you should get rid of the hold on and off.
try this


 #   hold on;
    plot(delay_val, power_data(:,1),'color',rand(1,3),delay_val, power_data(:,2),'color',rand(1,3),delay_val, power_data(:,3),'color',rand(1,3));
  #  hold off;
    lgd2{voltage_counter} = ['Eingangsspannung: ' num2str(voltage_val(voltage_counter)) 'V'];
    %legend(lgd2,'location','northeastoutside');
    %print("plot.pdf");
     xlabel("Verzoegerung des Ausschalten us");
ylabel("hi") 


you can see that i also moved the xlabel and ylabel down to here at the 
end of the plot

Let me know if this helps

--
DAS


reply via email to

[Prev in Thread] Current Thread [Next in Thread]