Recent

Author Topic: Anybody working on a Smith chart  (Read 4087 times)

stephanweber

  • New Member
  • *
  • Posts: 47
Anybody working on a Smith chart
« on: July 02, 2015, 09:39:30 am »
Hi,

if anybody is interested in programming a Smith chart (used for display of complex numbers, like impedances), I can hand-over my full well-tested Delphi pascal source code. It is quite beautiful, but not yet object-oriented. Would be nice of course to merge it into the Tchart.

Bye Stephan

wp

  • Hero Member
  • *****
  • Posts: 11923
Re: Anybody working on a Smith chart
« Reply #1 on: July 02, 2015, 11:05:18 am »
No, I am not working on Smith charts, but why don't you post your code?

In principle, I do not see a reason why it should not be possible to add this to TAChart. The main obstacle seems to be that TAChart has perpendicular axes, but you can hide them and draw all the circles and labels in the chart's events - see http://forum.lazarus.freepascal.org/index.php/topic,16977.msg93141.html#msg93141 or http://forum.lazarus.freepascal.org/index.php/topic,27248.msg168240.html#msg168240.

trayres

  • Jr. Member
  • **
  • Posts: 92
Re: Anybody working on a Smith chart
« Reply #2 on: September 26, 2015, 08:12:39 pm »
I just started looking for plotting a Smith chart, because I'm trying to update PUFF to be cross platform and update its graphics.

It would be helpful here!

stephanweber

  • New Member
  • *
  • Posts: 47
Re: Anybody working on a Smith chart
« Reply #3 on: August 29, 2023, 02:04:21 pm »
Hi, late update:

I can send the full source code, but it is Delphi 7.0 and not object-oriented. Send me a message or leave a comment in case of interest.

Bye Stephan

MarkMLl

  • Hero Member
  • *****
  • Posts: 6692
Re: Anybody working on a Smith chart
« Reply #4 on: August 29, 2023, 02:56:09 pm »
Irrespective of how it's written, I think it would be a useful thing to have available.

My own opinion is that "OO" is over-used and a convenient fallback for anybody who can't think of a more appropriate buzzword. OO techniques can be very useful if there might need to be more than one of something (i.e. two complex objects underlying two different GUI forms, or objects being accumulated and passed around as parameters), but it's (still) possible to have valid and useful Pascal without using it.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018