patchGNU Octave - Patches: patch #7622, New functions cquiver, cquiver3,...

 
 

patch #7622: New functions cquiver, cquiver3, __cquiver__

Submitter:  Alexander Klein <matalex>
Submitted:  Thu 22 Sep 2011 05:11:57 PM UTC
   
 
Category:  Core : new function Priority:  5 - Normal
Status:  Postponed Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 05 Dec 2012 01:15:17 AM UTC, comment #1: 

All the code provided in this item resumes to the attached diff.

I've tested it by flipping the centered variable by hand and it works as described. One can use the following script to better understand what the effects are:


[x,y] = meshgrid(1:2:20);
plot(x,y,'*');
hold on;
quiver(x,y,x,y);


This item needs FURTHER WORK.

(file #27043)

JĂșlio Hoffimann Mendes <juliohm>
Thu 22 Sep 2011 05:11:57 PM UTC, original submission:  

The attached functions do the same as their counterparts without the leading c with the only difference that the arrows drawn are centered instead of starting at the grid points.

While I first planned to pass an additional first argument named 'centering' to the original _quiver.m_, I got somewhat tangled in the varargin numbering, and since I really didn't have the time to track it down, I ended up duplicating the whole code to _cquiver.m_ for only a few changes.

I left the 'centering' logic in place, to facilitate replacing _quiver.m_ by _cquiver.m_. It really shouldn't be a big deal for anyone who finds the time to adapt the varargin stuff.

Alexander Klein <matalex>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #27043:  quiver.diff added by juliohm (1KiB - text/x-patch)
file #24015:  cquiver.tbz added by matalex (5KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lachlan (Updated the item)
  • -email is unavailable- added by juliohm (Updated the item)
  • -email is unavailable- added by matalex (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-07 lachlan CategoryNone Core : new function
        StatusNone Postponed
    2012-12-05 juliohm Attached File- Added quiver.diff, #27043
    2011-09-22 matalex Attached File- Added cquiver.tbz, #24015

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code