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

 
 

patch #7622: New functions cquiver, cquiver3, __cquiver__

Submitted by:  Alexander Klein <matalex>
Submitted on:  Thu 22 Sep 2011 05:11:57 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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:

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 File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 05 Dec 2012 01:15:17 AM UTCjuliohmAttached File-=>Added quiver.diff, #27043
    Thu 22 Sep 2011 05:11:57 PM UTCmatalexAttached File-=>Added cquiver.tbz, #24015

    Back to the top


    Powered by Savane 3.1-cleanup