[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
text rotate patch
From: |
Bailey, Jeffrey C. (MSFC-NNM05AB50C)[RAYTHEON] |
Subject: |
text rotate patch |
Date: |
Wed, 26 Aug 2009 17:00:52 -0500 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081120) |
I saw on the web a 'patch' for text rotation. It has stuff listed
below. Being new to the system, I wasn't sure what I needed to do with
it. Is it script that I download and run, do I just edit the
appropriate matlab like m file, or perhaps get the real patch somewhere
else.
Thanks,
Jeff
|
|
|
| * graphics.h (text::text_properties::rotation): New data member.
| > * graphics.cc (text::text_properties::text_properties,
| > text::text_properties::set, text::text_properties::get,
| > text::text_properties::factory_defaults): Handle rotation property.
| >
| >
| > Index: scripts/plot/__go_draw_axes__.m
| > ===================================================================
| > RCS file: /cvs/octave/scripts/plot/__go_draw_axes__.m,v
| > retrieving revision 1.19
| > diff -u -u -r1.19 __go_draw_axes__.m
| > --- scripts/plot/__go_draw_axes__.m 9 May 2007 16:46:50 -0000
1.19
| > +++ scripts/plot/__go_draw_axes__.m 14 Jun 2007 16:23:59 -0000
| > @@ -525,14 +525,17 @@
| > lpos = obj.position;
| > label = obj.string;
| > halign = obj.horizontalalignment;
| > + angle = obj.rotation;
| > if (nd == 3)
| > - fprintf (plot_stream, "set label \"%s\" at %g,%g,%g %s;\n",
| > + fprintf (plot_stream,
| > + "set label \"%s\" at %g,%g,%g %s rotate by %f;\n",
| > undo_string_escapes (label),
| > - lpos(1), lpos(2), lpos(3), halign);
| > + lpos(1), lpos(2), lpos(3), halign, angle);
| > else
| > - fprintf (plot_stream, "set label \"%s\" at %g,%g %s;\n",
| > + fprintf (plot_stream,
| > + "set label \"%s\" at %g,%g %s rotate by %f;\n",
| > undo_string_escapes (label),
| > - lpos(1), lpos(2), halign);
| > + lpos(1), lpos(2), halign, angle);
| > endif
- text rotate patch,
Bailey, Jeffrey C. (MSFC-NNM05AB50C)[RAYTHEON] <=