Skip to content

A couple of halph bugs in plot3d #3983

Closed

Description

@joa-quim

1- The fill should extend to the vertical walls
2- The x,y gridlines as well
3- The cube should be open (new option to not show the facing two faces)
4- Z annot labels should be horizontal by default (probably only in a new theme to not break compat)

gmt basemap -JX12c/0 -Bafg -Bzag -BWSenZ+b+ggray -p210/30 -JZ10 -R-2/2/-1/3/0/4 -png map

map

Activity

  1. PaulWessel commented on Aug 16, 2020

    @PaulWessel
    Contributor

    1- The fill should extend to the vertical walls

    Always, or as options

    2- The x,y gridlines as well

    That should be doable

    3- The cube should be open (new option to not show the facing two faces)

    I think the +b modifier could do more here. It is the box modier and could take args to allow some of the changes you want.

    4- Z annot labels should be horizontal by default (probably only in a new theme to not break compat)

    Yes I agree but perhaps by modifier?

    gmt basemap -JX12c/0 -Bafg -Bzag -BWSenZ+b+ggray -p210/30 -JZ10 -R-2/2/-1/3/0/4 -png map
    

    map

  2. Esteban82 commented on Aug 17, 2020

    @Esteban82
    Member

    I think it is related with3). In 3D view of Parana Basin I used the plot3d twice. I add +b the first time I used it (to plot the grayscale surface). So, then I used it again (with the color one) and this surface overlap the outlne of the cube in the front of the figure (near the river mouth).

  3. joa-quim commented on Aug 17, 2020

    @joa-quim
    MemberAuthor

    1- The fill should extend to the vertical walls
    Always, or as options

    I think always. That's what Matlab does. If user wants only the base he can do it with two calls.

    • 3 Thinking better, the cube should be always open. Why would one want to draw 3 lines ON TOP of the image?
  4. PaulWessel commented on Aug 17, 2020

    @PaulWessel
    Contributor

    I started last night to add new frame options +x[fill], +y[fill] so they are optional, can take same fill as the ground, or be separate. But struggling with a few issues so on hold during my meetings...

  5. PaulWessel commented on Aug 17, 2020

    @PaulWessel
    Contributor

    Branch wall-paint will let you run

    gmt basemap -JX12c/0 -Bafg -Bzag -BWSenZ+b+ggray+xlightblue+ylightred -p200/35 -JZ8 -R-2/2/-1/3/0/4 -png map

    but for reasons I dont yet understand, the gridlines are plotted behind the painted walls even though the code writes them second...

  6. seisman commented on Aug 26, 2020

    @seisman
    Member

    Close the issue?

  7. PaulWessel commented on Aug 26, 2020

    @PaulWessel
    Contributor

    Yes, all done and for the better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions