search for: pos_x

Displaying 2 results from an estimated 2 matches for "pos_x".

Did you mean: pos_r
1999 Aug 30
3
using underscore character in column names
Suppose you're reading data from a file in which the column names contain underscore characters. Example: ------ start of file ----- pos_x pos_y 1.0 0.0 2.0 1.0 ------ end of file ------- Using read.table, I can read this file just fine: > data <- read.table (file="data", head=T) > data pos_x pos_y 1 1 0 2 2 1 > However, I can't refer to pox_x because the _ character is an...
2006 Oct 17
0
[680] trunk/wxruby2/samples/printing/printing.rb: Cleaned up to use the Ruby naming convention, added #! line, now uses Wx default ID''s in standard menu items.
...end </span><span class="cx"> </span><span class="cx"> # Calculate the position on the DC for centring the graphic </span><del>- posX = ((w - (200*actualScale))/2.0) - posY = ((h - (200*actualScale))/2.0) </del><ins>+ pos_x = ((w - (200*actual_scale))/2.0) + pos_y = ((h - (200*actual_scale))/2.0) </ins><span class="cx"> </span><span class="cx"> # Set the scale and origin </span><del>- dc.set_user_scale(actualScale, actualScale) - dc.set_device_origi...