octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

splot and "set ticslevel"


From: David Bateman
Subject: splot and "set ticslevel"
Date: Mon, 26 Mar 2007 22:33:36 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Looking at fixing the meshc function in octave-forge for the news
graphics code (There is a version that almost works correct) I have an
issue of getting the contours into the base of the plot. It would be
much easier to do if the splot code in octave called "set ticslevel 0"
to remove the offset of the Z axis above the XY axes... Consider the
attached patch.

Maybe meshc might then be migrated from octave-forge..

Regards
David
*** __go_draw_axes__.m.~1.8.~   2007-03-26 21:26:31.000000000 +0200
--- __go_draw_axes__.m  2007-03-26 22:30:54.109791350 +0200
***************
*** 669,674 ****
--- 669,675 ----
        while (rot_z < 0)
          rot_z += 360;
        endwhile
+       fputs (plot_stream, "set ticslevel 0;\n");
        fprintf (plot_stream, "set view %g, %g;\n", rot_x, rot_z);
        endif
        fprintf (plot_stream, "%s \"%s\" %s %s %s", plot_cmd,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]