Menu

Graph on triangular domain

2015-07-26
2015-08-19
  • Vasch the stampede

    I have to plot a function on a triangular domain.
    The values ​​of the function are in a .dat file.
    I can only plot points but I don't know how to create the surface.
    In particular I don't know how to set that the surface elements are triangular and not rectangular.
    There is a specially format for the .dat file to do this? It's possible?

     
  • Vasch the stampede

    To clarify my problem I post some examples, this is what I get:


    This is instead what I would get:

     

    Last edit: Vasch the stampede 2015-08-17
  • Ethan Merritt

    Ethan Merritt - 2015-08-17

    You could try "set dgrid3d".
    I don't have any experience with it, but the documentation seems promising.

     
  • Vasch the stampede

    "set dgrid3d" don't do what I want because the domain becomes rectangular.

    For simple domain I found this solution. In plan must make so that it the domain look like something like that:

    And the result is right:

    But for more complex domains this solution is difficult, if not impossible, to apply.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.