Home Forums Development Engineering (e.g., 10MHz) instead of scientific notation (1E7) for diagram axes

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #8148

      Values on the axes of Cartesian diagrams usually show values in scientific notation and omit units as well.

      Engineering notation would automatically pick the order of magnitude giving the shortest representation, so instead of 1E7 you would get 10M, or alternatively, if you also specify a unit (like Hz), it would write 10 MHz.

      The equation diagram already creates 10 MHz, when you enter the string “Hz” in the “Unit:” text box.

      Another option would allow you to specify the desired order of magnitude manually. For example, for easier comparison of values, it can be useful to specify that all values for an axis are shown as multiples of 10ˆ6.

      So 10ˆ7 would be show as 10M, 500 000 would be shown as 0.5M. (Or as 10 MHz and 0.5 MHz, respectively, if a unit, here “Hz”, is specified as well).

      So maybe you could have a program wide setting (or diagram/axis wide setting), where you can pick engineering instead of scientific notation, which will format floats using SI-prefixes automatically, to give the shortest representation. It would also allow entering values in engineering notation as well.

      And the other option mentioned above, that essentially works like what the equation diagram does (with a slight extension, such that you can specify the SI-prefix/order of magnitude and the unit manually).

      • This topic was modified 4 months, 1 week ago by maelh.

        I second that.

        Qucs-S can do that.

        I would suggest adding an option “engineering notation” to all output thingies (tables, cartesian graph, markers on graphs etc. ), which is enabled per default.

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