comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Boxplots?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Boxplots? [message #1128] Wed, 28 July 1993 07:50
jg1ifj is currently offline  jg1ifj
Messages: 2
Registered: July 1993
Junior Member
Here is a short procedure which draws Boxplot. You may want to change line
width by "thick" parameter (ex. plots,[1,1],[1,2],thick=4)

example:
WAVE> plot,[1,2],/nodata,yr=[0,10],xr=[0,10]
WAVE> box_plot, 2, [1,3,4,6,8,9,5], 0.5

------------------------------------------------------------ -------------
pro box_plot, x, y, w

w2 = float(w)/2
xx = [x-w2, x+w2]

for i=0, 4 do begin
plots, xx, [y(i), y(i)]
endfor

plots, [x, x], [y(0), y(1)]
plots, [x, x], [y(3), y(4)]

plots, [x-w2, x-w2], [y(1), y(3)]
plots, [x+w2, x+w2], [y(1), y(3)]

plots, [x, x], [y(5), y(5)], psym=2

end
------------------------------------------------------------ ------------------

Hisa Noguchi
ADE Corp.
77 Rowe St. Newton, MA 02166
jg1ifj@world.std.com
Re: Boxplots? [message #1129 is a reply to message #1128] Wed, 28 July 1993 07:41 Go to previous message
jg1ifj is currently offline  jg1ifj
Messages: 2
Registered: July 1993
Junior Member
No Message Body
Re: Boxplots? [message #1134 is a reply to message #1129] Mon, 26 July 1993 09:54 Go to previous message
gregp is currently offline  gregp
Messages: 2
Registered: July 1993
Junior Member
I would be VERY interested in that also. I have asked the sales people
and all they could recommend was the error plot... Similar but different.

-Greg
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL (Interactive Data Language) FAQ
Next Topic: Q: image format conversion tools?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:31:42 PDT 2025

Total time taken to generate the page: 0.00631 seconds