et origin

Ben Abbott bpabbott at mac.com
Wed Jul 8 13:05:13 CDT 2009


On Wednesday, July 08, 2009, at 11:04AM, "Petr Mikulik" <mikulik at physics.muni.cz> wrote:
>	Hello Ben,
>
>with Octave 3.2.0, I've noticed a missing character (in the command stream? 
>in the octave-gnuplot communication?) when pasting several commands by mouse 
>or when plotting many plots from a script file. For example, the following 
>is reproducible: pasting by middle mouse button:
>
>clf
>subplot(1,2,1); title("fig 1")
>subplot(2,2,2); title("fig 2")
>subplot(2,2,4); title("fig 3")
>
>leads to:
>
>tmp|16:57:30|11> clf
>tmp|16:57:30|12> subplot(1,2,1); title("fig 1")
>tmp|16:57:31|13> subplot(2,2,2); title("fig 2")
>tmp|16:57:31|14> subplot(2,2,4); title("fig 3")
>
>multiplot> et origin 0, 0
>           ^
>           line 30: invalid command
>
>
>Could you please isolate the "set origin" command and put an additional "\n" 
>or ";\n" in front of it? That should solve this problem.
>

Petr,

I don't see this problem. Can you try making the change and verify that you get the result you desire.

The line you're looking for is in __go_draw_axes__.m.

__go_draw_figure__.m:64:	fputs (plot_stream, "set origin 0, 0\n");

Ben

p.s. Also my computer is out for repair so it will be a week before I'm operational again.




More information about the Bug-octave mailing list