How to draw a Plot graph with Text Column X-axis?

DataGraph Forums Technical Support Support Desk How to draw a Plot graph with Text Column X-axis?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8711
    liu chang
    Participant

      Hi,

      When I used the Plot command to draw a x-y plot graph, the data source for the X/Y axis must be a number or a date; text is not allowed (shown in red). But sometimes we do have this need (as shown in the picture), is there a solution for this?

      Best wishes,

      Liu截屏2022-05-12 12.28.47截屏2022-05-12 12.51.21

      #8712
      liu chang
      Participant

        图片来自 Determination of most stable housekeeping genes, differentially regulated target genes and sample integrity-,第 4 页

        #8713
        kirkt
        Participant

          Once you add the Plot Command, you can modify the Axis Settings to assign the X Tick Marks – in your case you want them to be labels from the column that contains the text of the gene names.

          See screenshot – you can assign the Label tick mark (1), the column containing the numerical values on the X axis specifying the location at which the labels should appear (2), and the column containing the label text (3).

           

          Kirktextxaxis

          • This reply was modified 2 years, 7 months ago by kirkt.
          #8716
          dgteam
          Moderator

            Thanks @kirkt – That is exactly what we would recommend.

            @liu change – See the Tick Marks section of  the Axis settings documentation to learn more about these options.

            Note that some commands, like the Bars and Box, can use text categories as the axis labels natively, without having to set the Axis settings.

            #8744
            liu chang
            Participant

              截屏2022-05-13 10.02.01

              Thank you for your answer. The question is done! Your software is a bit like a complex SLR camera. It has great functions, but at the same time, the learning cost is also relatively high. I really like this super awesome drawing software!

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

            DataGraph Forums Technical Support Support Desk How to draw a Plot graph with Text Column X-axis?