Exchange x and y axes

DataGraph Forums General Getting Started Exchange x and y axes

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4697
    uma bhatt
    Participant

      I struggled to do this in Data Graph and did not find anything in the manual or online. I have the plot below and I want the sea ice extent on the x axes and the different models on the y axes. I was unable to figure out how to do this though I suspect it is something easy! I can leave it as is for my immediate purpose but it would look better rotated by 90CW. thanks, UmaScreen Shot 2020-08-25 at 3.41.39 PM

      #4698
      uma bhatt
      Participant

        Hi All, Right after I submitted (sorry the button must have been pushed twice) I figured out how to switch. Sorry, Uma

        p.s. I did have an issue with getting the legend, so I just tricked it and wrote June, July and August using a text box. I was not able to use the variable on the x-axis for my legend. JJA-combinedplot-sm

        #4701
        dgteam
        Moderator

          Hi Uma!

          Very nice looking graphs 🙂

          How are you drawing the points?  Are these individual Point commands for each style or are you using a Points command with a Marker scheme?

          #4705
          uma bhatt
          Participant

            Hi Datagraph folks,

            I use the ‘points’ plot type command three times for my three forecasts (june, july and august). The screen shot shows what the datagraph file choices look like. So I think the answer to your question is yes. The problem I was having was that the legend wanted to use my blank column name in y which represents the different forecast models via consecutive numbers, the # column (but I deleted the # in the column name so it would not show up in the legend). Not sure how clear my explanation is.

            Uma

            Screen Shot 2020-08-26 at 11.09.49 AM

            #4710
            dgteam
            Moderator

              Uma,

              I think I see what your issue was.  Near the bottom of the command there is an option for Legend name.  In that box, there is a blue pill shaped object.  That is called a token.  By default it is connected to the y label.

              Click in the Legend name box and delete the token.

              Then type the name in that box you want to show in the legend (using the Legend command).

              #4712
              uma bhatt
              Participant

                Thanks, got it! I now understand the tokens. I had messed with that box but did not think to type in the column name! It takes time to develop an intuition for software and I am slowly getting there with dg. This plot will be in the August Sea Ice Outlook!

              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.

              DataGraph Forums General Getting Started Exchange x and y axes