پشتیبانی

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. &

arrlab

admin بازدید : 755 چهارشنبه 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
ارسال نظر برای این مطلب

نام
ایمیل (منتشر نمی‌شود)
وبسایت
:) :( ;) :D ;)) :X :? :P :* =(( :O @};- :B :S
کد امنیتی
رفرش
کد امنیتی
نظر خصوصی
مشخصات شما ذخیره شود ؟ [حذف مشخصات] [شکلک ها]
اطلاعات کاربری
  • فراموشی رمز عبور؟
  • آمار سایت
  • کل مطالب : 160
  • کل نظرات : 0
  • افراد آنلاین : 1
  • تعداد اعضا : 4
  • آی پی امروز : 38
  • آی پی دیروز : 35
  • بازدید امروز : 64
  • باردید دیروز : 212
  • گوگل امروز : 0
  • گوگل دیروز : 0
  • بازدید هفته : 687
  • بازدید ماه : 954
  • بازدید سال : 11,699
  • بازدید کلی : 248,309
  • کدهای اختصاصی