File: asymmetricerrorbars.pcm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (32 lines) | stat: -rw-r--r-- 498 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
clear
window 0
defaults
ps = 14
inquire 'Enter plotsymbol code ('//rchar(ps)//')' ps
!
define\constants
generate x 0,,2*pi,25
y=sin(x)+2*ran(x)
generate\random ey1 0 .5 25
generate\random ey2 0 .5 25
set
  %plotsymbolsize 2
  plotsymbol -ps
  plotsymbolcolor blue

graph x y ey1,,ey2
!
get
 %xloweraxis xlx
 %xupperaxis xux
 %yupperaxis yux
 
set
 %textheight 6
 textfont 'ArialBlack'
 %xtextlocation (xlx+xux)/2
 %ytextlocation yux+2
 textalign 2
 textinteractive 0
 
text 'Asymmetric error bars'