دانلود آهنگ جدید



free grads

Animation There are two different ways to animate images within grads.  


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


There are two different ways to animate images within grads.  
Set the dimension environment to have three varying dimensions and then display a variable. grads will return an animation sequence. By default, the animation dimension is time, but you may specify a different dimension to animate by using the following command:
set loopdim x|y|z|t

If you wish to animate a variable with fewer than three varying dimensions (i.e., animate a line graph), you can control animation by entering:

set looping on|off

Remember to grads/gadoc/gradcomdsetlooping.html">set looping off when you are done animating, or you will get a surprise when you display your next expression!

  • Use double buffering, which means you have two display windows, one of which is always in the background. Double buffering is invoked with the following command:

    When you issue a display command after turning on double buffering, the image is drawn to the backgound buffer. Then you issue the swap command, and grads swaps the background and foreground buffers so you can see what you've displayed. swap works like clear in that it resets many graphics options. Here is a sample script demonstrating how to use double buffering:

    'open model.ctl'
    'set dbuff on'
    'set gxout shaded'
    t = 1 while (t <= 5)
    'draw title Temperature'
    'set t 't 'd t' 'cbarn'
    t = t + 1

    You may also control the speed of the animation by inserting a q pos following the swap command -- then each click of the mouse would move to the next time step.        

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

    ایمیل (منتشر نمی‌شود) (لازم)
    :) :( ;) :D ;)) :X :? :P :* =(( :O @};- :B /:) :S
    نظر خصوصی
    مشخصات شما ذخیره شود ؟ [حذف مشخصات] [شکلک ها]
    کد امنیتیرفرش کد امنیتی
    اطلاعات کاربری
    نام کاربری :
    رمز عبور :
  • فراموشی رمز عبور؟
  • آمار سایت
  • کل مطالب : 155
  • کل نظرات : 0
  • افراد آنلاین : 2
  • تعداد اعضا : 4
  • آی پی امروز : 15
  • آی پی دیروز : 27
  • بازدید امروز : 51
  • باردید دیروز : 99
  • گوگل امروز : 0
  • گوگل دیروز : 0
  • بازدید هفته : 1,029
  • بازدید ماه : 3,906
  • بازدید سال : 21,846
  • بازدید کلی : 142,898
  • کدهای اختصاصی