{"id":28753074,"url":"https://github.com/msagarpatel/xplot","last_synced_at":"2025-06-17T00:06:09.013Z","repository":{"id":45454047,"uuid":"339154131","full_name":"msagarpatel/xplot","owner":"msagarpatel","description":"xplot ported forward to macOS","archived":false,"fork":false,"pushed_at":"2021-12-13T06:02:53.000Z","size":242,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-02-21T17:38:21.620Z","etag":null,"topics":["macos","xplot"],"latest_commit_sha":null,"homepage":"","language":"Roff","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/msagarpatel.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-15T17:27:20.000Z","updated_at":"2024-02-21T17:38:21.621Z","dependencies_parsed_at":"2022-07-14T12:01:45.428Z","dependency_job_id":null,"html_url":"https://github.com/msagarpatel/xplot","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/msagarpatel/xplot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msagarpatel%2Fxplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msagarpatel%2Fxplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msagarpatel%2Fxplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msagarpatel%2Fxplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msagarpatel","download_url":"https://codeload.github.com/msagarpatel/xplot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msagarpatel%2Fxplot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260263607,"owners_count":22982742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["macos","xplot"],"created_at":"2025-06-17T00:06:08.522Z","updated_at":"2025-06-17T00:06:08.992Z","avatar_url":"https://github.com/msagarpatel.png","language":"Roff","readme":"This is the README file for the program xplot.\n\nThere seems to be a few other programs floating around the net by the\nsame name.  This one was written by Tim Shepard while doing his S.M.\nthesis \"TCP Packet Trace Analysis\" for David Clark at the MIT\nLaboratory for Computer Science.  The thesis can be ordered from\nMIT/LCS Publications.  Ordering information can be obtained from\n+1 617 253 5851 or send mail to publications@lcs.mit.edu.  Ask for\nMIT/LCS/TR-494.  Or you can get it on the net free of charge from\n\u003cftp://ftp.lcs.mit.edu/pub/lcs-pubs/tr.outbox/MIT-LCS-TR-494.ps.gz\u003e.\n\nTo make plots like the ones in my S.M. thesis, you should read the\nANNOUNCE file, the README.tcp_plots file, and the tcpdump2xplot.pl\nperl script.\n\nThanks to Garret Wollman for contributing the original\ntcpdump2xplot.pl script and thanks to Eric Prud'hommeaux (@ w3.org)\nfor making \u003chttp://www.w3.org/pub/WWW/config/tcpdump2xplot.pl\u003e\navailable, a much improved version. The one included here is a\nslightly improved version of Eric's.  It tries to do the right thing\nwith SYN and FIN bits (by including them in the sequence space) and\ncan also handle wscale and SACK options, though you may have to fix\nyour version of tcpdump to print out the rfc2018 SACK blocks\ncorrectly.  (Some versions of tcpdump print out rfc1185 SACK blocks\nwhich have a different (obsolete) format, but share the same TCP\noption number.)  When you run tcpdump, you'll probably want to include\nthe options \"-s 96 -S -tt -n\".\n\nxplot is compiled by running:\n\n\t./configure\n\tmake\n\nAfter you get xplot compiled try running:\n\n\txplot demo.*\n\nYou will get one window for each input file.  The demo.0 file just\ndemonstrates the different things that can be plotted.  The demo.1\nfile is from the thesis mentioned above.  Xplot was written to make it\npossible to zoom in on data like this.  To get a feel for zooming, run\nxplot on demo.1 and resize the window so that it fills most of your\nscreen.  Then zoom in on the data a few times, and then scroll around.\nThe demo.2 file is an ntp wedge plot.  (Ntp wedge plots were invented\nby David Mills when he developed the ntp.)  demo.3 is a simply made\nhistogram.  demo.4 is another ntp wedge plot but with some of the data\npoints in color.  demo.5 shows how the text commands can be used to\nlabel things.  demo.6 is a sort of timing diagram.  Most people who\nhave made use of xplot write awk or perl scripts to convert their data\ninto a form suitable for input into xplot.\n\nThere isn't much documentation other than the sourcecode.  To see what\ntype of things can be drawn, look in demo.0 .  You can easily add new\ntypes of points by editing xplot.c.  e.g. adding the \"diamond\" type\nwas accomplished in about 10 minutes by searching for each occurance\nof \"box\" or \"BOX\" in xplot.c.\n\nThe currently available coordinate types are:\n double\n signed\n unsigned\n timeval\n\nIt should be fairly easy to add a new coordinate type.  Model the\nimplementation after an existing coordinate type (like signed.c) and\nmake the necessary edits to coord.c and xplot.h.\n\nxplot does not behave well when you wrap around the end of a\ncoordinate space.  This is particularly likely if the \"unsigned\"\ncoordinate type is used and you attempt to scroll or zoom to values\nbelow zero.  Because of this, the \"unsigned\" coordinate type is not\nrecommended.  However, \"unsigned\" is the only reasonable choice for\nTCP sequence numbers.  A 64-bit signed integer coordinate type should\nbe added to xplot someday.  For typical applications, double should be\nused for both coordinate types.\n\nThe first line of input names the x and y coordinate types.  After the\nfirst line, all lines are plot commands.  A line \"go\" can be included\nto mark the end of the input file, but shouldn't be necessary.\n\nHow to drive the mouse\n----------------------\n\nDrag a rectangle with the left mouse button to zoom in.\nClick the left mouse button to pop the zoom stack.\n\nDrag with the middle mouse button to scroll.\n\nZooming or scrolling below the x axis zooms or scrolls only in the x\ndirection.  Similarly, zooming or scrolling to the left of the y axis\nzooms or scrolls only in the y direction.\n\nClick the right mouse button to close the window. Xplot will exit if\nyou close all windows.\n\nClicking the left button while SHIFT is pressed causes xplot to drop a\npostscript file in the current directory.  The title is used as the\nfirst part of the filename if there has been a title plot command.\nOtherwise, \"xplot\" is used.  The file ends in PS.# where # is a serial\nnumber.  Xplot is careful not to write over a previously dumped\npostscript file, and # is incremented until an unused filename is\nfound.\n\nClicking the middle button while SHIFT is pressed similarly causes\nxplot to drop a postscript file, but this will be scaled suitably to\nallow the figure to be included in a document.  You might have to\nfiddle with the constants in emit_PS() and recompile to get the figure\nsized the way you want it.\n\nIf you didn't like the size of the figure produced by SHIFT-Middle,\nClicking the right button while SHIFT is pressed will produce a\npostscript plot just like the middle button, but it will take less\nvertical space.  Again, you can fiddle with the constants in emit_PS()\nand recompile if you don't like these sizes.\n\nX Resources\n-----------\n\nxplot understands the standard geometry, foreground, and background resource\nsettings.\n\n---------\n\nGood luck.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsagarpatel%2Fxplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsagarpatel%2Fxplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsagarpatel%2Fxplot/lists"}