-
Recent Posts
Recent Comments
- R.P. Churchill on TWSL Series 07: Discovery and Data Collection
- R.P. Churchill on A Simulationist’s Framework for Business Analysis: Round Two
- LN on A Simulationist’s Framework for Business Analysis: Round Two
- R.P. Churchill on Starting to Learn About the Java Memory Model
- R.P. Churchill on Multidimensional Arrays in Javascript
Categories
Meta
February 2025 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
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 canvas, curve fitting, graph project, thermodynamics
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
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.
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
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
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
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
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
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
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