octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #52866] print() function doesn't accept '-RGBI


From: Thomas Aiman
Subject: [Octave-bug-tracker] [bug #52866] print() function doesn't accept '-RGBImage' option
Date: Thu, 11 Jan 2018 18:27:30 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

URL:
  <http://savannah.gnu.org/bugs/?52866>

                 Summary: print() function doesn't accept '-RGBImage' option
                 Project: GNU Octave
            Submitted by: thomasaiman
            Submitted on: Thu 11 Jan 2018 11:27:29 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

>From the MATLAB documentation:
https://www.mathworks.com/help/matlab/ref/print.html

cdata = print('-RGBImage'); returns the RGB image data for the current figure.
This option differs from screen captures in that all printing features apply
to the output. You can also specify the resolution, renderer, '-noui', and fig
options with this syntax. However, you cannot specify a Simulink block
diagram.


A simple example that works in MATLAB:

figure
peaks
x = print('-RGBImage');


Octave returns the following error:

error: print: unknown option '-RGBImage'
error: called from
    __print_parse_opts__ at line 164 column 9
    print at line 315 column 8





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52866>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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