search for: offset3

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

Did you mean: offset
2004 Sep 17
1
Confused about specifying plot colors as RGB values
...y of rgb values for the 'col' parameter. colnames.col <- c("black", "red", "blue", "green") colnames.rgb <- apply(as.matrix(colnames.col), 1, col2rgb) dimnames(colnames.rgb)[[2]] <- colnames.col baseline <- 1:32 offset2 <- 2*baseline offset3 <- 3*baseline offset4 <- 4*baseline offsets <- cbind(offset2, offset3, offset4) # Produces expected result X11() matplot(baseline, col = colnames.col[1], type = "l") matlines(offsets, col = colnames.col[-1]) # Displays a ??yellow?? line X11() matplot(baseline, col = as.matrix(c...
2013 May 02
1
trouble-with-capybara-and-rspec-on-a-new-model-spec
...t;should send a mail" do expect { click_button submit}.to change(Mailer, :count).by(1) end end end end And the form: <% provide(:title , ''Mail Us'') %><h1>Mail Us</h1><div class="row"> <div class="span6 offset3 hero-unit"> <%= form_for(@mailer) do |f| %> <%= f.label :company_name %> <%= f.text_field :company_name %> <%= f.label :contact_name %> <%= f.text_field :contact_name %> <%= f.label :address %> <%= f.text_field :address %>...