#7 Adds bilinear interpolation to pm3d surfaces

closed-rejected
None
5
2005-07-26
2001-01-30
No

When using pm3d with data files (rather than functions), a single color is used for each quadrangle (unless dgrid is used, but then you get weighted averages instead).
This patch does bilinear interpolation to subdivide each quadrangle into nxn smaller quadrangles, and sets the color of each one independantly.
While this could be applied to the raw-data, the benefit to doing it in gnuplot, is that it is easy to tell interpolated data from actual data.

to use:
set pm3d steps <number>
(number = 1 is the default - no interpolation)

limitations:
won't work with the EXTENDED_COLOR_SPECS because I don't have the needed libraries to test it. It should e very easy to fix though.

No documnetation for 'set pm3d steps'

Discussion

  • Geoffrey Hausheer

    None

     
  • Nobody/Anonymous

    Opps. Forgot to add that the patch was built against CVS as of Jan 30, 2001

     
  • Hans-Bernhard Broeker

    Logged In: YES
    user_id=27517

    Petr, please have look into this. It should either go in now, or be rejected
    for good.

     
  • Hans-Bernhard Broeker

    • assigned_to: nobody --> mikulik
     
  • Petr Mikulik

    Petr Mikulik - 2005-07-26
    • status: open --> closed
     
  • Petr Mikulik

    Petr Mikulik - 2005-07-26
    • status: closed --> closed-rejected
     
  • Petr Mikulik

    Petr Mikulik - 2005-07-26

    Logged In: YES
    user_id=31505

    The patch does not apply to the current cvs, and it was not
    active since the original post. Closing it.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks