octave-maintainers
[Top][All Lists]
Advanced

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

Re: plotting with '.' marker


From: Rik
Subject: Re: plotting with '.' marker
Date: Tue, 14 Jun 2016 08:55:52 -0700

On 06/14/2016 07:58 AM, address@hidden wrote:
Subject:
Re: Matlab compat question
From:
Ray Zimmerman <address@hidden>
Date:
06/14/2016 07:58 AM
To:
"Dmitri A. Sergatskov" <address@hidden>
CC:
Octave Help <address@hidden>, octave-maintainers <address@hidden>
List-Post:
<mailto:address@hidden>
Precedence:
list
MIME-Version:
1.0 (Mac OS X Mail 9.3 \(3124\))
References:
<address@hidden>
In-Reply-To:
<address@hidden>
Message-ID:
<address@hidden>
Content-Type:
multipart/alternative; boundary="Apple-Mail=_6E243462-9B7C-4A61-983B-0DD55492A5EA"
Message:
3


On Jun 14, 2016, at 12:11 AM, Dmitri A. Sergatskov <address@hidden> wrote:

Can anyone with access to Matlab do:

plot(randn(3), ".y", "markersize", 24, "markeredgecolor", "k")
print t1.png

and send the resulting png?

It appears that Octave is Matlab compatible and that for the '.' marker, the property 'markeredgecolor' rather than 'markerfacecolor' like all other markers, determines which color to use.  This issue pertains to bug report https://savannah.gnu.org/bugs/?48208.  Could someone with access to Matlab run the following and report back on bug #48208?

h = plot (1:3, '.b')
get (h, 'markersize')       % What is default (should be 6)
get (h, 'markerfacecolor')  % What is default (blue, or something else)
get (h, 'markeredegcolor')  % What is default (blue, or something else)
set (h, 'markerfacecolor', 'm') % does dot change to 'magenta'?
set (h, 'markeredgecolor', 'g') % does dot change to 'green'?

%% Secondary test for markersize compatibility.
get (0, 'screenpixelsperinch')  % Current resolution
set (h, 'markersize', 4)   % what is size of marker in pixels on screen?
set (h, 'markersize', 16)  % what is size of marker in pixels on screen?
set (h, 'markersize', 36)  % what is size of marker in pixels on screen?

Thanks,
Rik

reply via email to

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