Search Results for: graph project

Steam Table Functions, Curve Fitting, and Yes, the Graph Project

I’m finally detouring back to fixing the handful of errant segments in the steam table functions I created for my simulation work in the early 90s. This graph, originally posted on March 16th, shows a hiccup in the segment from … Continue reading

Posted in Tools and methods | Tagged , , , | Leave a comment

Graph Project: Updated To Do List

At this point I need to change direction and get back to addressing the issues which led me to create the JavaScript graph object in the first place. I’ve got enough solid functionality in place to proceed, and I’ll add … Continue reading

Posted in Tools and methods | Tagged , | Leave a comment

Graph Project: Show or Hide Graph and Axis Labels

The figures below show that the graph and axis labels can be hidden or shown independently.

Posted in Tools and methods | Tagged , | Leave a comment

Graph Project: Auto-Sizing Works — The Hard Part, Part Two

Today’s work involved getting the plot area to size itself properly when the last major tick on an axis does not fall right at the end of the axis. It turned out to be just a bit complex and it … Continue reading

Posted in Tools and methods | Tagged , | Leave a comment

Graph Project: Auto-Sizing Works — The Hard Part, Part One

Today’s updates involve ensuring that any number of axes can be properly placed on any side of the plotting area. Moreover, they will include space for tick marks that extend beyond the location of the axis itself. I also corrected … Continue reading

Posted in Tools and methods | Tagged , | Leave a comment

Graph Project: Auto-Sizing Works — The Easy Part

Today I got the main parts of the auto-sizing going again, though you can see it’s for the simple case when there is never more than one axis on a side (the support is there, I just haven’t finished the … Continue reading

Posted in Tools and methods | Tagged , | Leave a comment

Graph Project: Toward Getting Auto-Sizing Working Again

When I reworked the axes as separate objects I’ve been setting the plotting area and label locations by hand, as a hack/placeholder until I got all the pieces working again. I’ve still got a bit to go, but for now … Continue reading

Posted in Tools and methods | Tagged , | Leave a comment

Graph Project: Labels Rotated Properly In Every Location

Today’s work was to get the tick value labels to handle rotation correctly, which they now do whichever side the labels are on. I also realized that I had cleverly defined rotations for the x-axis to go in the opposite … Continue reading

Posted in Tools and methods | Tagged , | Leave a comment

Graph Project: Axes On Other Side Of Plot

Here I’ve modified the code to not only accept extra axes, but also to be able to place them on either side of the plot area. This is reflected in the location of the tick and axis labels relative to … Continue reading

Posted in Tools and methods | Tagged , | Leave a comment

Graph Project: Multiple Axes

Now that the axis objects have been split out from the main graph object it’s a simple matter to add in as many as you need, as seen in the image. This example shows parallel axes stacked side to side, … Continue reading

Posted in Tools and methods | Tagged , | Leave a comment