Path: news.mathworks.com!not-for-mail
From: "jay vaughan" <jvaughan5.nospam@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: plot markersize property confuses me
Date: Wed, 28 May 2008 22:00:19 +0000 (UTC)
Organization: harvard
Lines: 25
Message-ID: <g1kklj$ade$1@fred.mathworks.com>
Reply-To: "jay vaughan" <jvaughan5.nospam@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1212012019 10670 172.30.248.35 (28 May 2008 22:00:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 28 May 2008 22:00:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1215048
Xref: news.mathworks.com comp.soft-sys.matlab:471018



Hi,

I would like to create a plot with a markersize between 1 
and 2 but notice that the markersize only seems to adopt 
integer values even if I request noninteger values. Does 
anyone know how this works? Is there a way to get 
the 'inbetween' values I am looking for?

Thanks,
J


% markersize 1 is too small (just a single point)
plot(1:5,'o-','markersize',1)  

% markersize 2 is too big
plot(1:5,'o-','markersize',2)

% markersize 1.5 is the same as 2
plot(1:5,'o-','markersize',1.5)

% markersize 1.49 is the same as 1
plot(1:5,'o-','markersize',1.49)