bugGNU Octave - Bugs: bug #48961, Wrong result when using view with...

 
 

bug #48961: Wrong result when using view with gnuplot

Submitter:  Avinoam Kalma <avinoam>
Submitted:  Wed 31 Aug 2016 02:28:27 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 01 Sep 2016 09:03:16 PM UTC, comment #3: 

I pushed the fix for view on gnuplot here (http://hg.savannah.gnu.org/hgweb/octave/rev/e5ae26e50374).

Rik <rik5>
Group administrator
Thu 01 Sep 2016 04:26:51 AM UTC, comment #2: 

There is not restriction on the values of (AZ,EL), this is not related to task #11311.

Moreover, when using qt, the results for any values of (AZ,EL) are compatible with Matlab result, but not with gnuplot.

Avinoam Kalma <avinoam>
Group Member
Wed 31 Aug 2016 07:15:28 PM UTC, comment #1: 

I suspect that calling view with an elevation value greater than 90 should be an error. If that's right, this falls under task #11311 and can be closed as a duplicate and the cset submitted here would not be necessary.

Mike Miller <mtmiller>
Group Member
Wed 31 Aug 2016 02:28:27 PM UTC, original submission:  


When using gnuplot graphics_toolkit, the command view (az, el)
has wrong results when abs(el) > 90.

When el > 90:


graphics_toolkit gnuplot
sphere (20)
view (30, 120)

gnuplot> set view -30, 30;
                         ^
         line 0: rot_x must be in [0:360] degrees range; view unchanged
+verbatim+

When el < -90 the plot is wrong.

Please review the attached cs.

Avinoam Kalma <avinoam>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #38395:  gnuplot_view.cs added by avinoam (1KiB - text/plain)

 

Digest:
   task dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by avinoam (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 group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-01 rik5 StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2016-08-31 mtmiller Dependencies- Depends on task #11311
    2016-08-31 avinoam Attached File- Added gnuplot_view.cs, #38395

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code