aboutsummaryrefslogtreecommitdiff
path: root/remote_plot.c
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-04-28 20:53:08 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-04-28 20:53:08 -0700
commit0146c69a5eab04fe48fe3a906df882ceb17380cf (patch)
treea6505e3b2b19cfcdd5b045ef92db3322853cd48a /remote_plot.c
parent475f0112b018a4f5092346af186d34eeb43a47de (diff)
old url not working any more
Diffstat (limited to 'remote_plot.c')
-rw-r--r--remote_plot.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/remote_plot.c b/remote_plot.c
index a30d6ad..ca2db60 100644
--- a/remote_plot.c
+++ b/remote_plot.c
@@ -1,8 +1,8 @@
// references:
// https://api.libssh.org/stable/libssh_tutorial.html
// https://api.libssh.org/stable/libssh_tutor_guided_tour.html
-// http://plplot.org/documentation.php
-// http://plplot.org/examples.php
+// https://plplot.sourceforge.net/documentation.php
+// https://plplot.sourceforge.net/examples.php
// plplot example 0 and ext-cairo-test.c
// https://docs.gtk.org/gtk4/class.DrawingArea.html
// https://www.gtk.org/docs/getting-started/hello-world/
@@ -388,8 +388,8 @@ int verify_knownhost(ssh_session session)
return 0;
}
-// http://plplot.org/documentation.php
-// http://plplot.org/examples.php
+// https://plplot.sourceforge.net/documentation.php
+// https://plplot.sourceforge.net/examples.php
// plplot example 0 and ext-cairo-test.c
static void draw_function (GtkDrawingArea *area,
cairo_t *cr,
@@ -422,10 +422,10 @@ static void draw_function (GtkDrawingArea *area,
}
// change to white background and black foreground, and gray color palette
- // http://plplot.org/docbook-manual/plplot-html-5.15.0/color.html
+ // http://plplot.sourceforge.net/docbook-manual/plplot-html-5.15.0/color.html
// seems should be put before plinit; or need pladv(), plvpor(), plwind() for a new picture?
// more see example 16
- // http://plplot.org/examples.php?demo=16
+ // http://plplot.sourceforge.net/examples.php?demo=16
// /usr/share/plplot5.15.0/examples/c/x16c.c
plspal0("cmap0_black_on_white.pal");
plspal1("cmap1_gray.pal", 1);
@@ -464,7 +464,7 @@ static void draw_function (GtkDrawingArea *area,
// plstring or plptex for scatter
// #(NNN) is Hershey font code, more see example 5, 6, 21
// #(727) is centred X symbol; other maybe useful codes: #(728)
- // hershey font code see http://plplot.org/examples.php?demo=07 ?
+ // hershey font code see http://plplot.sourceforge.net/examples.php?demo=07 ?
{
Node * pnode = data->cans.head;
while(pnode!=NULL)