Please follow the instruction on the distribution page.
gnuoplot====Current octave for windows ships not full featured gnuplot. Therefore you cannot use pull full features of gnuplot graphics toolkit
(e.g. cannot use cairo based devise like "-dpdfcairo"). If you want use it, please use the following instruction