Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Suggestions for graphing software...

Suggestions for graphing software...

Scheduled Pinned Locked Moved The Lounge
data-structureshelp
31 Posts 13 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Chris C B

    … preferably free, but cheap is good too. All I want to do is set up an X axis, set up a Y axis, and plot a line-scatter graph. It seems Excel can't do this with non-linear X values on a linear X axis - or I can't coerce it to do so. Either way, I have given up struggling with it, to the point where I am prepared to drop some valuable beer vouchers on the problem. If anyone has any suggestions, I would be very glad to hear them.

    N Offline
    N Offline
    NeverJustHere
    wrote on last edited by
    #4

    I'd use matplotlib and numpy/pandas in the python world. numpy is a lower level high performance array structure. pandas is a higher level data frame structure built on top of numpy matplotlib is a graphing library that will take data frames and render a huge variety of visualisations. Use an IDE like spyder and it's all quite easy and interactive. And all free.

    C 1 Reply Last reply
    0
    • C Chris C B

      … preferably free, but cheap is good too. All I want to do is set up an X axis, set up a Y axis, and plot a line-scatter graph. It seems Excel can't do this with non-linear X values on a linear X axis - or I can't coerce it to do so. Either way, I have given up struggling with it, to the point where I am prepared to drop some valuable beer vouchers on the problem. If anyone has any suggestions, I would be very glad to hear them.

      R Offline
      R Offline
      Rage
      wrote on last edited by
      #5

      Not free, but enough if it is a one-shot : imc FAMOS - data analysis framework - productive testing[^]

      Do not escape reality : improve reality !

      1 Reply Last reply
      0
      • C Chris C B

        … preferably free, but cheap is good too. All I want to do is set up an X axis, set up a Y axis, and plot a line-scatter graph. It seems Excel can't do this with non-linear X values on a linear X axis - or I can't coerce it to do so. Either way, I have given up struggling with it, to the point where I am prepared to drop some valuable beer vouchers on the problem. If anyone has any suggestions, I would be very glad to hear them.

        S Offline
        S Offline
        S Houghtelin
        wrote on last edited by
        #6

        I use the pirates favorite... R[^] RStudio is nice IDE envirionment for R that makes it easier to use. You can import and export Excel and csv file easily. and there are plenty of support communities where you can find how-tos and examples. RStudio – Open source and enterprise-ready professional software for R[^] [Edit] - And it's open source.

        It was broke, so I fixed it.

        C 1 Reply Last reply
        0
        • N NeverJustHere

          I'd use matplotlib and numpy/pandas in the python world. numpy is a lower level high performance array structure. pandas is a higher level data frame structure built on top of numpy matplotlib is a graphing library that will take data frames and render a huge variety of visualisations. Use an IDE like spyder and it's all quite easy and interactive. And all free.

          C Offline
          C Offline
          Chris C B
          wrote on last edited by
          #7

          Thanks, but that's a bit like reinventing the wheel. I just have this bunch of data and need to display it in a graph outside the application, as a once-off. I was a bit gobsmacked that Excel couldn't do it. Somewhere there has to be something where you establish the X and Y axes of the graph from the max and min of the data, and then plot all the X,Y points from the dataset. The data collection points on the X axis are non-linear, but I need to display them along a linear X axis.

          1 Reply Last reply
          0
          • S S Houghtelin

            I use the pirates favorite... R[^] RStudio is nice IDE envirionment for R that makes it easier to use. You can import and export Excel and csv file easily. and there are plenty of support communities where you can find how-tos and examples. RStudio – Open source and enterprise-ready professional software for R[^] [Edit] - And it's open source.

            It was broke, so I fixed it.

            C Offline
            C Offline
            Chris C B
            wrote on last edited by
            #8

            Thanks, but I really, realy, realy do not want to write one more line of code just to display the data just one time.

            S 2 Replies Last reply
            0
            • C Chris C B

              Thanks, but I really, realy, realy do not want to write one more line of code just to display the data just one time.

              S Offline
              S Offline
              S Houghtelin
              wrote on last edited by
              #9

              So, what your really, realy, realy looking for is some CODZ PLZ URGNTZZ? :laugh:

              It was broke, so I fixed it.

              C 1 Reply Last reply
              0
              • S S Houghtelin

                So, what your really, realy, realy looking for is some CODZ PLZ URGNTZZ? :laugh:

                It was broke, so I fixed it.

                C Offline
                C Offline
                Chris C B
                wrote on last edited by
                #10

                Nah! I don't need no CODZ PLZ URGNTZZ. Don't really like the stuff. I am actually having poached salmon in a lemon sauce tonight. :laugh:

                S 1 Reply Last reply
                0
                • C Chris C B

                  Nah! I don't need no CODZ PLZ URGNTZZ. Don't really like the stuff. I am actually having poached salmon in a lemon sauce tonight. :laugh:

                  S Offline
                  S Offline
                  S Houghtelin
                  wrote on last edited by
                  #11

                  Is that with real lemons?

                  It was broke, so I fixed it.

                  C 1 Reply Last reply
                  0
                  • C Chris C B

                    … preferably free, but cheap is good too. All I want to do is set up an X axis, set up a Y axis, and plot a line-scatter graph. It seems Excel can't do this with non-linear X values on a linear X axis - or I can't coerce it to do so. Either way, I have given up struggling with it, to the point where I am prepared to drop some valuable beer vouchers on the problem. If anyone has any suggestions, I would be very glad to hear them.

                    F Offline
                    F Offline
                    Foothill
                    wrote on last edited by
                    #12

                    I just plugged two sets of random numbers into Excel (2013) and produced a proper scatter plot. I followed these steps to get the trend line: trendline example. Is your data set too big for Excel?

                    if (Object.DividedByZero == true) { Universe.Implode(); }

                    C 1 Reply Last reply
                    0
                    • S S Houghtelin

                      Is that with real lemons?

                      It was broke, so I fixed it.

                      C Offline
                      C Offline
                      Chris C B
                      wrote on last edited by
                      #13

                      Nah! Furniture polish - it's cheaper.

                      S 1 Reply Last reply
                      0
                      • C Chris C B

                        Nah! Furniture polish - it's cheaper.

                        S Offline
                        S Offline
                        S Houghtelin
                        wrote on last edited by
                        #14

                        Chris C-B wrote:

                        Nah! Furniture polish - it's cheaper.

                        :laugh: plus if you're grilling, you get the added bonus of that flame thrower touch of excitement, the kids will love it!

                        It was broke, so I fixed it.

                        1 Reply Last reply
                        0
                        • C Chris C B

                          … preferably free, but cheap is good too. All I want to do is set up an X axis, set up a Y axis, and plot a line-scatter graph. It seems Excel can't do this with non-linear X values on a linear X axis - or I can't coerce it to do so. Either way, I have given up struggling with it, to the point where I am prepared to drop some valuable beer vouchers on the problem. If anyone has any suggestions, I would be very glad to hear them.

                          K Offline
                          K Offline
                          Kirill Illenseer
                          wrote on last edited by
                          #15

                          Scilab seems like the way to go. Several of my scientific co-workers use that for dealing with data sets doing all kinds of stuffs that physics does with data, including non-linear axes.

                          C 1 Reply Last reply
                          0
                          • C Chris C B

                            … preferably free, but cheap is good too. All I want to do is set up an X axis, set up a Y axis, and plot a line-scatter graph. It seems Excel can't do this with non-linear X values on a linear X axis - or I can't coerce it to do so. Either way, I have given up struggling with it, to the point where I am prepared to drop some valuable beer vouchers on the problem. If anyone has any suggestions, I would be very glad to hear them.

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #16

                            You could have a look at GNUplot, it certainly meets your requirement for free.

                            C 1 Reply Last reply
                            0
                            • C Chris C B

                              … preferably free, but cheap is good too. All I want to do is set up an X axis, set up a Y axis, and plot a line-scatter graph. It seems Excel can't do this with non-linear X values on a linear X axis - or I can't coerce it to do so. Either way, I have given up struggling with it, to the point where I am prepared to drop some valuable beer vouchers on the problem. If anyone has any suggestions, I would be very glad to hear them.

                              P Offline
                              P Offline
                              Pete Kelley
                              wrote on last edited by
                              #17

                              I don't have a solution to offer, but I'm wondering if you could give some usable example data?(rigged-up or otherwise) I certainly recognize that this simple need has arisen more times than I can remember. It's time to dabble in tool-building. This kind of issue is a lot like when I only want to make a simple chicken-scratch sketch using old-school Paint but the system I happen to be using only has a major drawing program that takes too-long/forever to load up. Or I just want to type a sentence and a bloated word processor starts loading. Great to have some of the suggestions - checking out GNUPlot and some of the free-or-inexpensive options.

                              Pete K.

                              C 1 Reply Last reply
                              0
                              • C Chris C B

                                Thanks, but I really, realy, realy do not want to write one more line of code just to display the data just one time.

                                S Offline
                                S Offline
                                S Houghtelin
                                wrote on last edited by
                                #18

                                So, how was the salmon? ;) Anyway I got 'yer Codez. It's like 6 lines of code.

                                # Install & Load Library
                                if (!require("readxl")) install.packages("readxl")
                                library("readxl")

                                Choose & Read Excel file, the 2 denotes the desired sheet number.

                                my_data <- read_excel(file.choose(), 2)

                                Extract data from the desired columns. RStudio will provide drop-down with column names.

                                Ydata <- my_data$Column_With_Ydata
                                Xdata <- my_data$Column_With_Xdata

                                Plot data

                                plot(Ydata, Xdata)

                                As with any code you can get as fancy as you want, but for a one time look see...

                                It was broke, so I fixed it.

                                C 1 Reply Last reply
                                0
                                • C Chris C B

                                  … preferably free, but cheap is good too. All I want to do is set up an X axis, set up a Y axis, and plot a line-scatter graph. It seems Excel can't do this with non-linear X values on a linear X axis - or I can't coerce it to do so. Either way, I have given up struggling with it, to the point where I am prepared to drop some valuable beer vouchers on the problem. If anyone has any suggestions, I would be very glad to hear them.

                                  M Offline
                                  M Offline
                                  mngerhold
                                  wrote on last edited by
                                  #19

                                  At the risk of sounding dumb, I can't see the problem - what are 'non-linear X values' ? You can't just mean they are at unequal X-intervals, because surely that is trivial, even for Excel?

                                  C 1 Reply Last reply
                                  0
                                  • C Chris C B

                                    … preferably free, but cheap is good too. All I want to do is set up an X axis, set up a Y axis, and plot a line-scatter graph. It seems Excel can't do this with non-linear X values on a linear X axis - or I can't coerce it to do so. Either way, I have given up struggling with it, to the point where I am prepared to drop some valuable beer vouchers on the problem. If anyone has any suggestions, I would be very glad to hear them.

                                    C Offline
                                    C Offline
                                    cmkrnl
                                    wrote on last edited by
                                    #20

                                    I found ZedGraph maybe 10 years ago, and have driven it with C# for countless graphing needs since then.

                                    1 Reply Last reply
                                    0
                                    • C Chris C B

                                      … preferably free, but cheap is good too. All I want to do is set up an X axis, set up a Y axis, and plot a line-scatter graph. It seems Excel can't do this with non-linear X values on a linear X axis - or I can't coerce it to do so. Either way, I have given up struggling with it, to the point where I am prepared to drop some valuable beer vouchers on the problem. If anyone has any suggestions, I would be very glad to hear them.

                                      J Offline
                                      J Offline
                                      jcmaida
                                      wrote on last edited by
                                      #21

                                      convert non-linear to linear via log base 10, base 2, etc.

                                      C 1 Reply Last reply
                                      0
                                      • C Chris C B

                                        Thanks for that - it looks useful, but I need something that I can import Excel or CSV data into. I have a LOT of data! :sigh:

                                        T Offline
                                        T Offline
                                        thewazz
                                        wrote on last edited by
                                        #22

                                        Add that info to your OP.

                                        1 Reply Last reply
                                        0
                                        • F Foothill

                                          I just plugged two sets of random numbers into Excel (2013) and produced a proper scatter plot. I followed these steps to get the trend line: trendline example. Is your data set too big for Excel?

                                          if (Object.DividedByZero == true) { Universe.Implode(); }

                                          C Offline
                                          C Offline
                                          Chris C B
                                          wrote on last edited by
                                          #23

                                          The scatter graph works fine for X-Y points, but the data collection points are equally spaced on the graph, where they are, in fact, non-linear to the point of being random. They are closely spaced at the start of the X-axis, becoming sparser further along - but they are essentially just points where data had been collected, and adhere to no mathematically defined function. I want to impose a linear X-axis, say from 0 to 100, and have the graph points plotted along that linear axis. If I just use the X-Y data in a plot, then the X-axis is divided into equidistant points for the X value and the Y value plotted above it. If I add a third column of data to represent the X-axis, Excel accepts it but then draws two graphs, one for the X values and one for the Y values. If it were not for the 11,000 odd data points, I would use a piece of graph paper...

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups