SHARE
TWEET

Untitled

a guest Jul 23rd, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. size 22 18 !box
  2.  
  3. sub mygrids
  4. begin graph
  5.     size 22 18
  6.     nobox
  7.     !title "EbN0db Vs BER with EEP"
  8.     xaxis  min -2 max 40 dticks 1.0 dticks 5.0
  9.     yaxis  min 0.00000003 max 0.5 log
  10.     xaxis grid lstyle 2 color grey
  11.     yaxis grid lstyle 2 color grey
  12.  
  13.     !let d1  = 0 from 0 to 10
  14.     !d1 lstyle 0
  15. end graph
  16. end sub
  17.  
  18. amove 0 0
  19. !@mygrids
  20. set lwidth 0.03
  21. begin graph
  22.     size 22 18
  23.     nobox
  24.     xaxis  min -2 max 40 dticks 1.0 dticks 5.0
  25.     yaxis  min 0.00000003 max 0.5 log
  26.     xtitle E_b/N_0[db]
  27.     ytitle BER
  28.     data sys1.txt d1=c1,c2
  29.     d1 lstyle 1 marker fcircle msize 0.3 !color red
  30.     data sys2.txt d2=c1,c2
  31.     d2 lstyle 2 marker circle msize 0.3 !color green
  32.     data sys3.txt d3=c1,c2
  33.     d3 lstyle 3 marker triangle msize 0.3 !color blue
  34.  
  35. end graph
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top