I just centered a place holder rule with LyX. Had to use google, had to switch to the website 3 or 4 times because i couldn't remember the procedure.
Menu: Insert→Float→Figure
Put the cursor in the paragraph above the line 'Figure <Nr.>'. If there's no such paragraph above, put the cursor at the start of that line and press Enter.
Menu: Edit→Paragraph Settings (Layout→Paragraph) and select Center in the Alignment box. Press Ok.
Menu: Insert→Graphics and choose the file etc.