meas.fpd 436 B

12345678910111213141516171819202122232425
  1. /*
  2. * new-style measurements demo
  3. */
  4. part "measurements"
  5. loop x = -2, 2
  6. A: vec @(0mm, 0mm)
  7. B: vec @(x*2mm, 2mm)
  8. C: vec @(0mm, 4mm)
  9. /*
  10. * If we measure (x, y), y trumps x
  11. */
  12. meas "A -> B = " A -> B 0.2mm
  13. meas "A <- B = " A <- B 0.5mm
  14. meas "A >> B = " A >> B 1.5mm
  15. measx "x(A -> B) = " A -> B -0.5mm
  16. measx "x(A >> B) = " A >> B -1mm
  17. measy "y(A -> B) = " A -> B -2mm
  18. measy "y(A >> B) = " A >> B -4.5mm
  19. meas "B -> C = " B -> C 0.5mm