[changeset-2] improved support for pdf output
Ben Abbott
bpabbott at mac.com
Thu Apr 9 09:53:42 CDT 2009
On Apr 9, 2009, at 6:29 AM, Ben Abbott wrote:
> On Apr 8, 2009, at 10:26 PM, John W. Eaton wrote:
>
>> On 8-Apr-2009, Ben Abbott wrote:
>>
>> | On Apr 8, 2009, at 8:06 PM, Michael D. Godfrey wrote:
>> |
>> | >> I tried the following with Matlab 2008b
>> | > I thought about trying 2008b, but 2007b was handier. The
>> underlying
>> | > behavior does not seem to have changed, and I think you have done
>> | > the right thing. It does not appear that whatever replaces
>> | > BoundingBox in
>> | > PDF actually causes a problem. I could display text within what
>> | > seemed to
>> | > be the "frame" for the PDF that I generated in Matlab.
>> | > Tell me when you push this changeset.
>> | >
>> | > Michael
>> |
>> |
>> | I've made changes that attempt to produce compatible behavior
>> across
>> | several terminals. I've tested pdf, ps, eps, jpeg, jpg, and png
>> (I had
>> | the bitmaps implemented incorrectly ... I apologize to those who I
>> | recall tried to get that point across over the last few weeks).
>>
>> | + fprintf (plot_stream, sprintf ("%s\n", term_str));
>>
>> Why not
>>
>> fprintf (plot_stream, "%s\n", term_str);
>>
>> ?
>
> I'll fix that.
>
>> | + [status, output] = system ("which convert");
>>
>> Is "which" reliable on all systems? Why not just try to run the
>> convert command and see if it works?
>
> There is no "which" in windows. Does anyone know of an equivalent
> that works for XP and Vista?
>
> Ben
Ok, I should always have my coffee before firing off quick replies :-(
Does "which" work on Cygwin? ... In any event, I'll make that change
as well.
Thanks
Ben
More information about the Octave-maintainers
mailing list