پشتیبانی

arrlab
loading...

free grads

set arrlab set arrlab on|off Toggles drawing the vector arrow label for plots drawn with set gxout vector. The default is on and "sticks" until reset by another set arrlab command. &

admin بازدید : 877 چهارشنبه 10 دی 1393 نظرات (0)

set arrlab

set arrlab on|off

Toggles drawing the vector arrow label for plots drawn with set gxout vector. The default is on and "sticks" until reset by another set arrlab command.   

Usage Notes

The position of the arrow label is fixed to be in the bottom right corner of the page, just under the plot. If you want it to appear somewhere else, see the example below which demonstrates how to draw an arrow key using grads graphical elements.


Examples

This example is a script sample that demonstrates how to turn off the default vector arrow scale and draw another one at any specified location:

'set gxout vector'
len = 0.3
xrit = 8.0
scale = 2
'set arrscl 'len' 'scale
ybot = 0.5
'd u;v'
'set arrlab off'
rc = arrow(xrit-0.25,ybot+0.2,len,scale)
function arrow(x,y,len,scale) 'set line 1 1 4'
'draw line 'x+len/2.-0.05' 'y+0.025' 'x+len/2.' 'y
'draw line 'x-len/2.' 'y' 'x+len/2.' 'y
'draw string 'x' 'y-0.1' 'scale
'draw line 'x+len/2.-0.05' 'y-0.025' 'x+len/2.' 'y 'set string 1 c' 'set strsiz 0.1'
return
ارسال نظر برای این مطلب

کد امنیتی رفرش
اطلاعات کاربری
  • فراموشی رمز عبور؟
  • آمار سایت
  • کل مطالب : 160
  • کل نظرات : 0
  • افراد آنلاین : 2
  • تعداد اعضا : 4
  • آی پی امروز : 59
  • آی پی دیروز : 57
  • بازدید امروز : 313
  • باردید دیروز : 72
  • گوگل امروز : 0
  • گوگل دیروز : 4
  • بازدید هفته : 728
  • بازدید ماه : 6,556
  • بازدید سال : 34,082
  • بازدید کلی : 270,692
  • کدهای اختصاصی