free grads

set xlopts This command controls the appearance of the tic labels on the X axis.  Syntax set xlopts color <<thickness <size> color &nb

set xlopts

admin بازدید : 602 یکشنبه 14 دي 1393 نظرات (0)

set xlopts

This command controls the appearance of the tic labels on the X axis. 


set xlopts color <<thickness <size>

    color              Label color (Default 1) 
    thickness      Label thickness (Default 3) 
    size                Label size (Default 0.11)

Usage Notes

This setting 'sticks' until changed by issuing another set xlopts command, or when a reset or reinit command is issued.

If you want to change only the size setting, you must include a color and thickness setting as well.

When using grads version 2.0.2 and earlier, for the X window display and the image output (e.g. PNG), a thickness setting between 1 and 5 will result in axis labels approximately one pixel wide; a thickness between 6 and 11 will result in axis labels two pixels wide, and a thickness of 12 will give axis labels approximately three pixels wide. For the vector graphics output (e.g. PostScript and Encapsulated PostScript) the axis label thickness will increase with each increment in the thickness value.

If using grads version 2.1 and later with the Cairo graphics library enabled, and if using Hershey fonts, then each thickness setting will increment the axis label thickness, for both the X window display and for all hardcopy output formats.

Contour labels drawn with Cairo fonts will not be affected by the set xlopts thickness setting. Please read the documentation page on Font Control in grads for more information.

The default line widths for thickness settings between 1 and 12 are: 0.6, 0.8, 1.0, 1.25, 1.5, 1.75, 2.0, 2.2, 2.4, 2.6, 2.8, 3.0. The units (pixels or points) will depend on the surface being drawn to. In grads version 2.1 and later, there is a new command, set lwid, that allows the user to define a new line thickness setting if the 12 default widths are unsatisfactory.


set xlopts 1 5 0.18 

ارسال نظر برای این مطلب

ایمیل (منتشر نمی‌شود)
:) :( ;) :D ;)) :X :? :P :* =(( :O @};- :B :S
کد امنیتی
کد امنیتی
نظر خصوصی
مشخصات شما ذخیره شود ؟ [حذف مشخصات] [شکلک ها]
اطلاعات کاربری
  • فراموشی رمز عبور؟
  • آمار سایت
  • کل مطالب : 155
  • کل نظرات : 0
  • افراد آنلاین : 1
  • تعداد اعضا : 4
  • آی پی امروز : 7
  • آی پی دیروز : 15
  • بازدید امروز : 216
  • باردید دیروز : 26
  • گوگل امروز : 0
  • گوگل دیروز : 1
  • بازدید هفته : 301
  • بازدید ماه : 360
  • بازدید سال : 8,324
  • بازدید کلی : 227,772
  • کدهای اختصاصی