[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Subplots not drawing correctly.
From: |
Reed, Darren K. (MSFC-ER42) |
Subject: |
RE: Subplots not drawing correctly. |
Date: |
Fri, 26 Oct 2018 14:34:16 +0000 |
-----Original Message-----
From: Help-octave [mailto:address@hidden On Behalf Of IMacaulay
Sent: Friday, October 26, 2018 5:18 AM
To: address@hidden
Cc: address@hidden
Subject: Re: Subplots not drawing correctly.
Certainly.
The attached example.m is a cut down version of the function that produced the
plot I previously sent, and example.png is cut from a screen shot of the result
of running this on my machine this morning.
I have had so many problems with saving/printing figures in the past, that now
I only use screen shots, which are adequate for most purposes.
Thanks.
On 25/10/2018, address@hidden <address@hidden> wrote:
> Hi there,
>
> Would be happy to try it here. Can you add some code to try?
>
> Does it happen on screen or only when you save to file? May be an
> issue with line thickness in the conversion then.
>
> Cheers,
>
> Willem
>
>
Hello,
I'm not sure why, but if you move the plot([-70,10],... line in front of hold
on; then I think you get what you want.
This is the same as the last two subplots.
subplot(2,2,1);
plot([-70,10],[-70,10],"color",[0.8,0.8,0.8]);
hold on;
plot(mbw_4229_01(6),mbw_4229_01(13),"r");
plot(mbw_4229_02(6),mbw_4229_02(13),"g");
plot(mbw_4229_04(:,6),mbw_4229_04(:,13),"b");
plot(mbw_4229_05(:,6),mbw_4229_05(:,13),"m");
set(gca,"xlim",[-70,10],"ylim",[-70,10]);
xlabel("MBW frost point (^oC)");
ylabel(" frost point (^oC)");
title("Comparison with s/n 4229")
legend("1^{st} October (unheated?)","2^{nd} October (unheated?)",...
"4^{th} October, heated","5^{th} October,
heated",...
"location","southeast");
hold off;
Darren
frost_point.png
Description: frost_point.png
- Subplots not drawing correctly., IMacaulay, 2018/10/24
- Re: Subplots not drawing correctly., withaar, 2018/10/25
- Re: Subplots not drawing correctly., IMacaulay, 2018/10/26
- RE: Subplots not drawing correctly.,
Reed, Darren K. (MSFC-ER42) <=
- Re: Subplots not drawing correctly., withaar, 2018/10/26
- Re: Subplots not drawing correctly., IMacaulay, 2018/10/29
- Re: Subplots not drawing correctly., Doug Stewart, 2018/10/29
- Re: Subplots not drawing correctly., withaar, 2018/10/29