title: Creating a 2 line graph on left axis and a bar graph on right axis Octave
body: <p>I'm having difficulty creating a 2 y axis graph in Octave. Currently I can make the 2 line graph. However, I haven't been able to find a function that will help me with my problem. I have tried using the plotyy function but I am not sure if you can use this function with two left side axis line graphs and one right side graph. Here is code I have written so far in my attempt. </p>
  
  <pre><code>labels = ["Data 1"; "Data 2"; "Data 3"; "Data 4"; "Data 5"]
  y1 = [137, 15, 2, 3, 37]
  y2 = [43, 1, 67, 97, 41]
  x = [1, 2, 3, 4, 5]
  y3 = [0, .2, .3, .104, .09]
  z1 = plot(x, y1, y2) 
  plot(x, y1, y2)
  hold on
  plot(x, y2)
  xlabel("Version")
  yyaxis left
  ylabel("Y axis")
  set(gca,'XTickLabel',labels)
  yyaxis right
  z = bar(x,y3)
  z
  yyaxis right
  ylabel("Data")
  </code></pre>