#272: graph_format with multiple formats ---------------------------------+-------------------- Reporter: ratto | Owner: ferhat Type: enhancement | Status: new Priority: major | Milestone: 5.0 Component: Block decomposition | Version: 4.3.0 Keywords: graph_format | ---------------------------------+-------------------- Currently the option graph_format only allows only one format at a time to be selected. This can be a strong limitation (assume one wants both eps for latex and fig to handle and edit plots).
We should allow multiple entries with a preprocessor syntax
graph_format =[eps,fig]
The preprocessor would define the variable in options_ as:
options_.graph_format = char('eps', 'fig' );
which would properly be handled in dyn_saveas by changing strcmp with strmatch.
#272: graph_format with multiple formats ---------------------------+-------------------------- Reporter: ratto | Owner: sebastien Type: enhancement | Status: new Priority: major | Milestone: 5.0 Component: Preprocessor | Version: 4.3.0 Resolution: | Keywords: graph_format ---------------------------+-------------------------- Changes (by ratto):
* owner: ferhat => sebastien * component: Block decomposition => Preprocessor
#272: graph_format with multiple formats ---------------------------+-------------------------- Reporter: ratto | Owner: sebastien Type: enhancement | Status: closed Priority: major | Milestone: 5.0 Component: Preprocessor | Version: 4.3.0 Resolution: fixed | Keywords: graph_format ---------------------------+-------------------------- Changes (by sebastien):
* status: new => closed * resolution: => fixed
Old description:
Currently the option graph_format only allows only one format at a time to be selected. This can be a strong limitation (assume one wants both eps for latex and fig to handle and edit plots).
We should allow multiple entries with a preprocessor syntax
graph_format =[eps,fig]
The preprocessor would define the variable in options_ as:
options_.graph_format = char('eps', 'fig' );
which would properly be handled in dyn_saveas by changing strcmp with strmatch.
New description:
Currently the option graph_format only allows only one format at a time to be selected. This can be a strong limitation (assume one wants both eps for latex and fig to handle and edit plots).
We should allow multiple entries with a preprocessor syntax
graph_format =(eps,fig)
The preprocessor would define the variable in options_ as:
options_.graph_format = char('eps', 'fig' );
which would properly be handled in dyn_saveas by changing strcmp with strmatch.
--
Comment:
Done in db48078736708a565805f33179fb8af477e024f2 and 1193cab7c8c0be145af6ca4097b610c98156af33.
Feature backported to 4.3 as a special exception.