Search:

Type: Posts; User: hcrisp

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    29,987

    I understand the RESIZE keyword to be the index...

    I understand the RESIZE keyword to be the index of variables to be resized, not columns. The docs state, "An array of integers indicating the variables in var_list that can be resized based on the...
  2. Replies
    1
    Views
    18,316

    Pseudo-inverse vs. MULTIREGRESS

    I recently benchmarked multi-linear regression on a large dataset using two methods in PV-WAVE -- direct manipulation of the matrix using the pseudo-inverse vs. the MULTIREGRESS function. ...
  3. Replies
    5
    Views
    29,987

    DC_READ_FREE and large files

    I am using 64-bit PV-WAVE 10.00a on Windows 7. When I try to read in a very large 3.8GB .csv file using DC_READ_FREE, I get a strange error message. Is this a bug?



    > n_req_col = 11
    >...
  4. Replies
    1
    Views
    4,374

    EXECUTE backslash issue

    I am having a problem getting EXECUTE to properly interpret a string with a backslash character. It wants to add an escape sequence which was previously avoided.



    str = 'This is a test of...
  5. Replies
    9
    Views
    9,547

    I think I found the source. If you alter the...

    I think I found the source. If you alter the !Z.RANGE array, it will reproduce this error. Here is the before and after:



    ; this works:
    pm, !z.range
    ; 0.00000000
    ; 0.00000000
    ...
  6. Replies
    9
    Views
    9,547

    Allan, I am using PV-WAVE 9.50c with 32-bit...

    Allan,

    I am using PV-WAVE 9.50c with 32-bit Win XP. I don't have a problem running your code from a fresh PV-WAVE prompt. But the same code run inside my application (which sizes the new window,...
  7. Replies
    0
    Views
    3,889

    assign complex values?

    Is COMPLEX and DCOMPLEX the only way to assign numeric real and imaginary values to a complex array? Because I don't want to use COMPLEX if my data is double-precision, and I don't want to use...
  8. Replies
    9
    Views
    9,547

    I am using your examples and getting closer. ...

    I am using your examples and getting closer. However, when it hits the POLYSHADE line, it gives this error:



    POLYSHADE: Vertex 30: X,Y out of range.


    Why is this happening? Earlier runs...
  9. Replies
    9
    Views
    9,547

    Thank you, that is very helpful. Any...

    Thank you, that is very helpful.

    Any suggestion for how to code a work-around for this implementation of SHADE_SURF?



    z = dist(10,10)
    x = replv(findgen(10), [10,10], 0)
    y =...
  10. Replies
    9
    Views
    9,547

    turn off Gouraud shading?

    The documentation says you can turn off Gouraud shading for SHADE_SURF calls, but I can't get it to work. Here is the documentation excerpt:



    The documentation example for POLYSHADE works, but...
  11. Replies
    3
    Views
    6,242

    Here's a better way: a = [[1., 2], [1,2]]...

    Here's a better way:


    a = [[1., 2], [1,2]]
    a_inv = INVERT(a, st)
    ; Now check the value of st. You can't do this with INV()!
  12. Replies
    3
    Views
    6,242

    I found a workaround, so nevermind unless there...

    I found a workaround, so nevermind unless there is a more elegant way.


    !QUIET = 2
    st = EXECUTE('rs = INV(A)')
    ; Now check the value of st
  13. Replies
    3
    Views
    6,242

    detect singular matrix?

    Is there a way to detect if a square matrix is singular without causing an error or printing any message? I have tried using ON_ERROR to no avail. DET is no help either. Any help would be...
  14. Replies
    3
    Views
    5,265

    PV-WAVE 9.50c on 32-bit Windows XP.

    PV-WAVE 9.50c on 32-bit Windows XP.
  15. Replies
    3
    Views
    5,265

    execute string limit

    What is the limit for the number of string characters that the EXECUTE function may accept, if any? I called it on a very long string and it did not return a status of true.
  16. Replies
    1
    Views
    4,141

    structure tag limit

    What is the limit for the number of tags a structure may have, if any?
  17. Thread: circle symbol

    by hcrisp
    Replies
    1
    Views
    4,210

    I found a work-around using code from the user...

    I found a work-around using code from the user function arc.pro. I could not use ARC directly since it did not have support for all the keywords for PLOTS.
  18. Thread: circle symbol

    by hcrisp
    Replies
    1
    Views
    4,210

    circle symbol

    I would like to plot an array of points in two-dimensions using circle symbols (with variable radii). However PLOTS has no PSYM value for circles, and I don't see a CIRCLE rendering procedure. Can...
  19. Replies
    4
    Views
    5,609

    Well, I went ahead and tried using IMAGE_WRITE,...

    Well, I went ahead and tried using IMAGE_WRITE, and I was suprised to find that it worked! The JPG image created is 24-bit and does not suffer from the same color-banding effects that happen when...
  20. Replies
    4
    Views
    5,609

    I am having trouble loading a 24-bit image and...

    I am having trouble loading a 24-bit image and drawing colorized lines on top of it in PV-WAVE. The colors have full range when I draw them without the background image. Once I add the image, they...
  21. Thread: Socket_connect

    by hcrisp
    Replies
    3
    Views
    5,680

    I cannot connect to www.google.com either. It...

    I cannot connect to www.google.com either. It might be a firewall issue for me. I can connect to intranet sites just fine, just not the internet. My browser and VBA do not have this problem.
  22. Thread: Socket_connect

    by hcrisp
    Replies
    3
    Views
    5,680

    Socket_connect

    Did the SOCKET_CONNECT routine stop working for public websites? I tried following the documented example, and it does not work.



    connection=SOCKET_CONNECT('www.vni.com', 80)
    info, connection...
  23. Replies
    7
    Views
    9,518

    Found a better way. I've always known TENSORs...

    Found a better way. I've always known TENSORs can be useful, and I finally found a use case. It's unbelievably compact. I wonder why nobody from VNI mentioned this? Are they reading the forums?
    ...
  24. Replies
    7
    Views
    9,518

    Well, here would be a way to do it with strings. ...

    Well, here would be a way to do it with strings. The 'find' variable can be any length. Will work with integers, but probably not with float values. It will also error if your sequence contains...
  25. Replies
    7
    Views
    9,518

    Find subset

    Here is one way (you may have to protect against errors, however):



    vals = INDGEN(100)
    nvals = N_ELEMENTS(vals)
    vsearch = [43, 44, 45]
    nsearch = N_ELEMENTS(vsearch)
    nend = nvals -...
Results 1 to 25 of 188
Page 1 of 8 1 2 3 4