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

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

[Octave-bug-tracker] [bug #58494] [Feature Request] graphics handles sho


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #58494] [Feature Request] graphics handles should support classdef dot syntax for accessing properties
Date: Thu, 4 Jun 2020 17:13:50 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

Follow-up Comment #4, bug #58494 (project octave):

A few month ago, I have written the attached base class (graphics_placeholder)
and a script to generate children class. If you want to get a feeling of how
it could work with dot notation, unpack the attached archive, cd into the
resulting folder and play:


## generate class files if necessary: 
## dump_class_file ("__figure__", figure (), "__figure__.m");
## dump_class_file ("__axes__", axes (), "__axes__.m");
## ...
ax = __axes__ (gca);
ax.color = "r";


This is in no way something serious, just for dreaming and eventually testing
performance.




(file #49214)
    _______________________________________________________

Additional Item Attachment:

File name: bughg2.zip                     Size:10 KB
    <https://savannah.gnu.org/file/bughg2.zip?file_id=49214>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58494>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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